Abstract
Propagate close on all writers of channel
const writer = new WriteChannel();
// closes the "string" channel.
writer.close.writer.string();
Connect the readFrom or writeTo worker/port to either recieve from or send to to a different message port.
The worker/port to send the connection
change to.
Whether you want to change the "writable" end or the "readable" end of the target
The connection that should now be written to or read from.
Generated using TypeDoc
Propagate cancel on all readers
Example