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

Double-ended Queue Support #427

Open
ronigober opened this issue Jun 30, 2022 · 1 comment
Open

Double-ended Queue Support #427

ronigober opened this issue Jun 30, 2022 · 1 comment

Comments

@ronigober
Copy link

ronigober commented Jun 30, 2022

Hey!
Recently I found your library and it's really helping me with the communication between sub thread coroutines and main thread functions.
One of my use cases needs the ability to clear all the already exiting messages in a queue,
or to insert the new message to the end of the queue.
That ability is not possible when using a normal queue,
so I wanted to know if there is any planning for a double-ended queue support any time soon.
Thanks!

@asvetlov
Copy link
Member

Sorry, there is a very low chance that double-ended queue will be implemented.
As a workaround, you can get all queue elements to "clear" it.

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

2 participants