https://issues.dlang.org/show_bug.cgi?id=14953

--- Comment #2 from Sean Kelly <[email protected]> ---
That said, it seems like the underlying problem here may be dataflow-related. 
How do you know that all pending messages are really no longer relevant?  If
messages are really backing up (ie. something is producing more than you can
consume), maybe the dataflow is incorrect.  More consumers are needed, or maybe
some sort of throttling mechanism.

My concern is that I'm not sure that messages should ever be just discarded in
bulk.  I'd love to hear a good example where they should.  So while the API
seems straightforward, I'm not entirely convinced that it should exist. 
Thoughts?

--

Reply via email to