Module channel

Source

Functionsยง

take_channel
Takes ownership of the channel in chan. chan is replaced with an invalid channel.