Performs the state transition action and if the transition is possible calls the work function. If the transition is not currently possible, but could become possible after the next transition then the action may be deferred. For example, while in the Connecting state, if Stop is called this action will be deferred until the Connected state is reached.
Gets the current state.
Generated using TypeDoc