awaitWebSocket

fun awaitWebSocket(durationMillis: Long)

Waits for a websocket session completion.