BroadcastChannel

@ExperimentalCoroutinesApi fun <E> BroadcastChannel(
    capacity: Int
): BroadcastChannel<E>
(source)

Creates a broadcast channel with the specified buffer capacity.

The resulting channel type depends on the specified capacity parameter:

Note: This is an experimental api. It may be changed in the future updates.