awaitMessages

abstract suspend fun awaitMessages(): Flow<Array<Pair<String, Message>>>(source)

Awaits messages from the connection.

Return

An array of messages received from the connection.