awaitInternalState

Return the next internal state received. This function will suspend if no items have been received.

Throws

if the most recent item was not an internal state.