awaitState

inline suspend fun <T : MsmpState> awaitState(): T?

Awaits the first client state of type T.