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

dispatcher document warning about bounded queue #3944

Open
samspills opened this issue Jan 11, 2024 · 0 comments
Open

dispatcher document warning about bounded queue #3944

samspills opened this issue Jan 11, 2024 · 0 comments

Comments

@samspills
Copy link
Contributor

samspills commented Jan 11, 2024

using a bounded queue with dispatcher.unsafeRunAndForget doesn't propagate back pressure and the dispatcher list of registrations will still grow unboundedly

the dispatcher docs use unsafeRunAndForget with an unbounded queue in the example, and it doesn't mention the bounding issue. A note or warning about that would be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant