Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass streams as arguments to templates #1

Open
markstiles123 opened this issue Nov 2, 2024 · 1 comment
Open

Pass streams as arguments to templates #1

markstiles123 opened this issue Nov 2, 2024 · 1 comment

Comments

@markstiles123
Copy link

Using response streams in templates enables complete streaming as compared to promises where you would have to fetch data and wait for it to parse to text, with streams you simply fetch partial html incrementally streamed, this is mostly useful at the serviceworker level, where the users network maybe slow and waiting for a fetch promise to resolve takes a lot of time

@lorenzofox3
Copy link
Owner

Streams are already supported 🤔. Do you have a way to reproduce your issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants