bbd9968f76
Adds functionality to accept Queueing Strategy in sendWithStream method. Using Queueing Strategy we can control the data that is enqueued into the sink, and hence regulated the flow of chunks from worker to main thread. Adds capability in pull and cancel methods. Adds ready and desiredSize property in streamSink. Adds unit test for ReadableStream and sendWithStream. |
||
---|---|---|
.. | ||
LICENSE.md | ||
README.md | ||
streams-lib.js |
Streams API polyfill for PDF.js
This folder contains streams-lib.js file that works as a polyfill for Streams API in PDF.js
project.
Steps to create streams-lib.js file
- Fork Streams API reference implementation.
- Bundle and port to es5 ref-implementation files using webpack to create commonjs module.