diegomura / diegomura/react-pdf

Stream support + Cancellable works (nodeJS api)

Open
#3,278 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.