We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wondering what ReadableStream and other streaming data structures are instances of.
ReadableStream
https://hackage.haskell.org/package/lazysmallcheck-0.6/docs/Test-LazySmallCheck.html#t:Serial https://hackage.haskell.org/package/Stream-0.4.7.2/docs/Data-Stream.html
The text was updated successfully, but these errors were encountered:
In rubico, ReadableStream is regarded as part of a Semigroup called Stream (for Node.js streams) in the context of extending a WritableStream.
Stream
WritableStream
/** * streamExtend(stream Writable)( * chunk string|Buffer|Uint8Array|any, * encoding string|undefined, * callback function|undefined, * ) -> stream */ const streamExtend = function extend( stream, chunk, encoding, callback, ) { if (isBinary(chunk) || isString(chunk)) { const chunkLength = chunk.length let index = -1 while (++index < chunkLength) { stream.write(chunk[index], encoding, callback) } } else { // objectMode stream.write(chunk, encoding, callback) } return stream }
Above is an extend for performance reasons, but could be rewritten into a concat.
Sorry, something went wrong.
No branches or pull requests
Wondering what
ReadableStream
and other streaming data structures are instances of.https://hackage.haskell.org/package/lazysmallcheck-0.6/docs/Test-LazySmallCheck.html#t:Serial
https://hackage.haskell.org/package/Stream-0.4.7.2/docs/Data-Stream.html
The text was updated successfully, but these errors were encountered: