Skip to content

[v0.x] Implement Readiness class for outgoing backpressure#544

Closed
timbertson wants to merge 1 commit intotypelevel:series/0.xfrom
timbertson:send-backpressure
Closed

[v0.x] Implement Readiness class for outgoing backpressure#544
timbertson wants to merge 1 commit intotypelevel:series/0.xfrom
timbertson:send-backpressure

Conversation

@timbertson
Copy link
Contributor

This is loosely based on #39, but I pulled out the Readiness class for reuse and more explicit wiring.

For outgoing streams, this class delays outgoing messages until the underlying channel has capacity (using isReady / onReady). This is used for clients sending a stream and for server responding with a stream.

Note: I'm stuck way back on v0.x, because my project depends on cats-effect 2 via monix. I don't know if you are accepting pulls to such an old branch, but this was easier for me to test. If you're happy with the basic approach, I'll have a look at porting to main.

For outgoing streams, this class delays outgoing messages
until the underlying channel has capacity.
@timbertson timbertson changed the title Implement Readiness class for outgoing backpressure [v0.x] Implement Readiness class for outgoing backpressure Jul 3, 2022
@timbertson timbertson closed this Jul 26, 2022
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

Successfully merging this pull request may close these issues.

1 participant