diegomura / diegomura/react-pdf
Stream support + Cancellable works (nodeJS api)
Open
new feature
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Is your feature request related to a problem? Please describe.**
Currently, the only way for using images is to pass a buffer, if the app is handling the files as streams this forces the app to consume it and create a buffer with it and then pass around.
Additionally, if you start processing a PDF (renderToStream for example) and somehow the process gets stuck, then the whole process that run the action must be killed as it halts.
**Describe the solution you'd like**
- Streaming support for images
- Cancellable (with abortcontroller, or timeouts) processing
**Additional context**
Thanks for the work! :)
Contributor guide
Assessment
This issue has not been assessed yet.