Class
DexStateMachine
Description [src]
final class Dex.StateMachine : GObject.TypeInstance
{
/* No available fields */
}
DexStateMachine provides a serialized asynchronous state machine.
Transitions are declared up front with a static table of
DexStateTransition entries. Requests made with
dex_state_machine_transition() are serialized through an internal
DexLimiter with a max concurrency of one. Transition callbacks run
from a fiber, so they may use dex_await() and related APIs while still
appearing as synchronous functions.