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

Fix and reintroduce Throttle combinator #1949

Merged
merged 3 commits into from
Dec 14, 2019
Merged

Fix and reintroduce Throttle combinator #1949

merged 3 commits into from
Dec 14, 2019

Conversation

vorot93
Copy link
Member

@vorot93 vorot93 commented Dec 12, 2019

This PR upgrades the throttle combinator to use pin-project-lite and reintroduces it with API akin to timeout.

@carllerche
Copy link
Member

Thanks 👍 Looks good. Would it be possible to get tests and additional docs with a usage example?

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@carllerche carllerche merged commit 4b85565 into tokio-rs:master Dec 14, 2019
@vorot93 vorot93 deleted the throttle branch December 14, 2019 06:16
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.

None yet

2 participants