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

Add cancelling capability to push non-backpressure aware path #500

Closed
johnmcclean opened this issue Feb 2, 2017 · 3 comments
Closed

Add cancelling capability to push non-backpressure aware path #500

johnmcclean opened this issue Feb 2, 2017 · 3 comments
Milestone

Comments

@johnmcclean
Copy link
Member

Currently non-backpressure aware Streams run until the event stream itself stops

@johnmcclean johnmcclean added this to the 2.0.0-MI4 milestone Feb 2, 2017
@johnmcclean johnmcclean modified the milestones: 2.0.0-MI6, 2.0.0-MI4 Feb 15, 2017
@johnmcclean
Copy link
Member Author

This can be implemented simply & performantly in the same way the short circuiting is implemented in allMatch etc.

@johnmcclean
Copy link
Member Author

Create a specific Throwable with FillInStackTrace overwriten to represent a cancelled Stream, handle the cancellation in each Operator (throwing it upwards) and finally mark the Stream as cancelled at the top level in Spouts.

@johnmcclean
Copy link
Member Author

Doesn't seem to feasible as many of the key APIs are user controlled for convenience (e.g. Spouts.async)

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