openSubscription

fun openSubscription(): ReceiveChannel<E> (source)

Overrides BroadcastChannel.openSubscription

Subscribes to this BroadcastChannel and returns a channel to receive elements from it. The resulting channel shall be cancelled to unsubscribe from this broadcast channel.