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

feat(util): introduce Sender::{capacity, max_capacity} #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cratelyn
Copy link
Contributor

@cratelyn cratelyn commented Feb 9, 2025

this commit introduces two methods allowing callers to inspect the capacity, both available and maximum, of the channel-backed body.

this allows callers to observe when the channel is full.

X-Ref: #140

this commit introduces two methods, allowing callers to inspect the
capacity, both available and maximum, of the channel-backed body.

this allows callers to observe when the channel is full.

Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
X-Ref: hyperium#140
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