Photomechanics API
Photomechanics.Photo3DStudio.Common.SerialQueue Class Reference

FIFO tasks serial queue. Enqueued task will be processed one at time. From https://github.com/Gentlee/SerialQueue. More...

Public Member Functions

Task Enqueue (Action action)
 Enqueue action. More...
 
Task< T > Enqueue< T > (Func< T > function)
 Enqueue action with result. More...
 

Detailed Description

FIFO tasks serial queue. Enqueued task will be processed one at time. From https://github.com/Gentlee/SerialQueue.

Member Function Documentation

◆ Enqueue()

Task Photomechanics.Photo3DStudio.Common.SerialQueue.Enqueue ( Action  action)

Enqueue action.

◆ Enqueue< T >()

Task<T> Photomechanics.Photo3DStudio.Common.SerialQueue.Enqueue< T > ( Func< T >  function)

Enqueue action with result.