channel_sender_close

Function channel_sender_close 

Source
fn channel_sender_close<'ob>(sender: Gc<&ChannelSender>) -> Gc<ObjectType<'ob>>
Expand description

Close the sender side of a channel.

After closing, no more values can be sent through this sender. Any receivers waiting on this channel will be woken up. If all senders are closed or dropped, receivers will get ’channel-closed.