Method
ReadChannelInterface::activate
Switches off the deadlock check of the channel.
Description#
public ReadChannelInterface::activate(): voidThe coroutine that created the channel gets a ChannelException if it waits on the channel and no other coroutine has done so within about 100 ms. Call this when the creator is meant to wait on the channel alone, as when the other end is used by a coroutine that starts later.
See also#
phasync::channelCreates a channel and returns its two ends in$readand$write.