newConnectableInputChannel
fun <ItemT, ChannelT : ChannelType<ChannelT>> newConnectableInputChannel(type: ChannelT): ConnectableInputChannel<ItemT, ChannelT>
Factory function to create a connectable input channel of the specified type.
Return
a new connectable input channel
Parameters
type
the ChannelType to create (Push or Pull)