ChannelEndpoints¶
Import: import system.task;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
ChannelEndpoints¶
A local async queue with independently owned sending and receiving endpoints.
sender¶
Creates another sending endpoint; dropping the last sender closes sends.
receiver¶
Creates another receiving endpoint; dropping the last receiver wakes blocked sends.