DenoDDeno
Powered by
danthemanD
Denoβ€’4y agoβ€’
3 replies
dantheman

How can I create a linked [ReadableStream,WritableStream] pair?

Hi, I have a function A which accepts a WritableStream and another function B which accepts a ReadableStream. How can I plug them into each other so that the writes from function A will be given to function B?
In NodeJS this could be accomplished with an NPM package like https://github.com/indutny/stream-pair.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to stop reading from a ReadableStream?
1771771771177177177 / help
4y ago
ReadableStream to JSON
ZidanZZidan / help
4y ago