openSubscription
abstract fun openSubscription(): SubscriptionReceiveChannel<E>
(source)Platform and version requirements: JVM
Subscribes to this BroadcastChannel and returns a channel to receive elements from it. The resulting channel shall be closed to unsubscribe from this broadcast channel.