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

Adds support to only get the latest value when using Async operators #111

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

michaelstonis
Copy link
Contributor

This is helpful when a flood of requests come in and you just want the most recent one after the one you last processed.

This implementation is based off of AwaitOperation.Sequential, but uses a bounded channel with capacity for a singular item that will replace the oldest value

This is helpful when a flood of requests come in and you just want the most recent one after the one you last processed.

This implementation is based off of `AwaitOperation.Sequential`, but uses a bounded channel with capacity for a singular item that will replace the oldest value
@neuecc
Copy link
Member

neuecc commented Feb 18, 2024

Thank you, nice improvemen!
I'll release soon.

@neuecc neuecc merged commit f9273a5 into Cysharp:main Feb 18, 2024
@neuecc neuecc mentioned this pull request Feb 18, 2024
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.

2 participants