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

Support AsyncProducerConsumerQueue wait for empty #263

Open
WalkerCodeRanger opened this issue Sep 8, 2022 · 0 comments
Open

Support AsyncProducerConsumerQueue wait for empty #263

WalkerCodeRanger opened this issue Sep 8, 2022 · 0 comments

Comments

@WalkerCodeRanger
Copy link

The AsyncProducerConsumerQueue<T>.OutputAvailableAsync() available method allows you to wait until the output is available. However, there is no way to wait for the queue to be empty.

My use case is actually for unit tests. I need to wait until the consumer has processed everything in the queue before adding more items to the queue.

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