awaitState
Return the next state received. This function will suspend if no states have been received.
Throws
if the most recent item was not a state.
Return the next state received. This function will suspend if no states have been received.
if the most recent item was not a state.