Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement backpressure signaling for IdentityTransformStream writable #473

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Mar 23, 2023

Enables optional use of writer.desiredSize/writer.ready for backpressure signaling with IdentityTransformStream and FixedLengthStream. See included test for example use.

@jasnell jasnell requested review from harrishancock and mikea March 23, 2023 18:28
@jasnell jasnell force-pushed the jsnell/identitytransformstream-backpressure branch 2 times, most recently from 72bb232 to 242dae6 Compare March 23, 2023 19:45
@jasnell jasnell force-pushed the jsnell/identitytransformstream-backpressure branch from 242dae6 to 857d9b1 Compare March 27, 2023 20:20
Enables optional use of writer.desiredSize/writer.ready for backpressure
signaling with IdentityTransformStream and FixedLengthStream.
@jasnell jasnell force-pushed the jsnell/identitytransformstream-backpressure branch from 857d9b1 to c939220 Compare March 27, 2023 20:21
@jasnell jasnell merged commit 8b4cad7 into main Mar 27, 2023
@jasnell
Copy link
Member Author

jasnell commented Mar 27, 2023

@mrbbot ... just FYI on here... this change may need to be picked up by miniflare. See the included test for examples on the api change.

@mrbbot
Copy link
Contributor

mrbbot commented Mar 28, 2023

Thanks for the heads up! 👍

@fhanau fhanau deleted the jsnell/identitytransformstream-backpressure branch December 4, 2023 22:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants