awaitExternalState

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

Throws

if the most recent item was not an external state.