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

Allow calls to be blocked on empty queue #52

Open
mangalaman93 opened this issue Mar 23, 2019 · 0 comments
Open

Allow calls to be blocked on empty queue #52

mangalaman93 opened this issue Mar 23, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@mangalaman93
Copy link
Member

This is similar to a producer-consumer model, except that queue can never be full. We should potentially add an API such that instead of returning an error when queue is empty, we simply block the caller until an element is added and can be returned.

@mangalaman93 mangalaman93 added the enhancement New feature or request label Mar 23, 2019
@mangalaman93 mangalaman93 added this to the v0.4.0 milestone Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant