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

Buffer messages that are send to a handler that isn't able to accept them at the moment #26

Open
scothis opened this issue Sep 6, 2013 · 0 comments
Milestone

Comments

@scothis
Copy link
Member

scothis commented Sep 6, 2013

Sometimes a handler is unable to handle a message. This is common in cases where a remote socket needs to connect before it can handle a message.

A common facility for wrapping handlers in a buffer would be helpful. The buffer can queue messages when the handler is unavailable and release them once the handler becomes available. Semantics for both the size of the buffer and a timeout for messages in the buffer should be configurable.

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