LockingStateQueue.this

Constructor.

struct LockingStateQueue(State, bool strictlyOrdered = false)
this
(
Promise!State delegate
(
State
)
stateFunc
,
State initialState = State.init
)

Parameters

stateFunc Promise!State delegate
(
State
)

The function implementing the state transition operation. Accepts the goal state, and returns a promise which is the resulting (ideally but not necessarily, the goal) state.

initialState State

The initial state.

Meta