async-readable
Utils for reading streams in paused mode (pull stream).
How to Use
Basic
const createReadStream = ;const asyncReadable = ; { const read = ; const G I F = await ; const EIGHT SEVEN_OR_NINE A = await ; const width = await ; const height = await ; return width height ; } ;
Advanced
assuming to have
const connect = ; const socket = ; { while true const head = await ; const size = head; ; }
hence
const toAsyncIterable = ; const unpack = ; { for await const frame of // ... }
or
const toReadableStream = ; const unpack = ; { const stream = ; stream; }
License
the MIT