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

backpressure policy drain/fount for "Drop" #36

Open
Tracked by #38
glyph opened this issue Nov 25, 2015 · 0 comments
Open
Tracked by #38

backpressure policy drain/fount for "Drop" #36

glyph opened this issue Nov 25, 2015 · 0 comments

Comments

@glyph
Copy link
Member

glyph commented Nov 25, 2015

Sometimes, when encountering backpressure – assuming that the output type of the given fount is a discrete message and not part of a continuous stream like IFragment – the thing the fount actually wants to do instead of delivering things is to drop them. For example, in the case of a fan.Out keeping a bunch of observers up to date about the current state of something, you may want to allow some of those observers to just not see messages while their respective buffers are full.

See #35

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