Function deno_unsync::split_io
source ยท pub fn split_io<S>(stream: S) -> (IOReadHalf<S>, IOWriteHalf<S>)Expand description
Create a ![Send] I/O split on top of a stream. The split reader and writer halves are safe to use
only in a single-threaded context, and are not legal to send to another thread.