A utility to convert a function that returns a Promise
of a Node.js ReadableStream
into a function that returns a Node.js ReadableStream
.
The new function accepts the same arguments as the original function.
origin-1 / sync-readable Goto Github PK
View Code? Open in Web Editor NEWSynchronize a function that returns a Node.js readable stream.
License: ISC License