fn channel_receiver_close<'ob>(
receiver: Gc<&ChannelReceiver>,
) -> Gc<ObjectType<'ob>>Expand description
Close the receiver side of a channel.
After closing, no more values can be received from this receiver. This is useful for “moving” a receiver to another thread by cloning it into a new context and then closing the original.
This is idempotent - calling it multiple times has no additional effect.