Interface SessionStateController

Manages [[SessionStateControllerState]] state transitions via [[SessionStateControllerAction]] actions and ensures that the work functions attached to the transition are sequenced properly.

interface SessionStateController {
    perform(
        action: SessionStateControllerAction,
        work: () => void,
    ): SessionStateControllerTransitionResult;
    state(): SessionStateControllerState;
}

Implemented by

Methods

Methods