Method
DexStateMachinetransition
Declaration [src]
DexFuture*
dex_state_machine_transition (
DexStateMachine* state_machine,
guint target
)
Description [src]
Requests a transition to target.
Transition requests are serialized. The matching callback is run from a
fiber and may use dex_await() to wait for asynchronous work. If the
callback succeeds, the state machine commits the possibly modified inout
to argument and the returned future resolves to that enum value.
Return value
Type: DexFuture
A future resolving to the final enum state.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |