subscribe

abstract suspend fun subscribe(blockUntilSubscribed: Boolean = false)(source)

Subscribes to the channel

Parameters

blockUntilSubscribed

if true, the method will block the coroutine until the status is Status.SUBSCRIBED