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

Would this crate support try_force_enqueue? #15

Open
tianbaoluo opened this issue Nov 19, 2024 · 0 comments
Open

Would this crate support try_force_enqueue? #15

tianbaoluo opened this issue Nov 19, 2024 · 0 comments

Comments

@tianbaoluo
Copy link

tianbaoluo commented Nov 19, 2024

Hello !

First thank you for your amazing work, your crates are amazing !

I am using this mpsc queue, but In some cases, I need to support the try_force_enqueue feature, so that when the Consumer cannot handle it, the Producer can discard the old Value and keep the latest Value.
Can this feature be supported?

Thank you!

@tianbaoluo tianbaoluo changed the title Would this crate support force_push? Would this crate support try_force_enqueue? Nov 19, 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

No branches or pull requests

1 participant