newConnectableInputChannel

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)