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

Continually produce exceptions for InputStreams #2

Open
wraithm opened this issue Dec 4, 2019 · 1 comment
Open

Continually produce exceptions for InputStreams #2

wraithm opened this issue Dec 4, 2019 · 1 comment

Comments

@wraithm
Copy link
Member

wraithm commented Dec 4, 2019

Right now, the heartbeat checker on an input stream will die on the first heartbeat. Instead, the semantics should be to continually produce exceptions in the case that heartbeats continue not to show up. It should be up to the user of this library to decide how to handle these exceptions.

@wraithm
Copy link
Member Author

wraithm commented Dec 6, 2019

Or maybe have a higher order function argument to input stream heartbeat checking that runs on the first missed heartbeat, then throw the exception and shut down on the end of the grace period

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