SendOnly
public final class SendOnly : Handle
Send-only reference to an existing channel.
Example:
let channel = Channel<Int>()
func send(to channel: Channel<Int>.SendOnly) throws {
try channel.send(42, deadline: 1.second.fromNow())
}
try send(to: channel.sendOnly)