!str #16448 Change error to failure
* one API change OverflowStrategy.error -> OverflowStrategy.fail * error is still kept in the internals where we are at the reactive streams level
This commit is contained in:
parent
31497cac9b
commit
01646d10ff
32 changed files with 87 additions and 88 deletions
|
|
@ -190,7 +190,7 @@ If we run this example we see that
|
|||
|
||||
This example highlights that one solution to avoid deadlocks in the presence of potentially unbalanced cycles
|
||||
(cycles where the number of circulating elements are unbounded) is to drop elements. An alternative would be to
|
||||
define a larger buffer with ``OverflowStrategy.error`` which would fail the stream instead of deadlocking it after
|
||||
define a larger buffer with ``OverflowStrategy.fail`` which would fail the stream instead of deadlocking it after
|
||||
all buffer space has been consumed.
|
||||
|
||||
As we discovered in the previous examples, the core problem was the unbalanced nature of the feedback loop. We
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue