-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
Similar to the existing join methods, this one would just take 3 peeks to end a flow by performing some action, with return type void. Probably a 2 peek version that throws the technical failure as a runtime exception too and another consumeOrThrow that throws it as a checked exception. Could also have 1 peek versions for each of the branches that throws a runtime exception if the bias is not present.
The motivation for this is that there is currently no clean way to end a flow in a void.