stavalfi / jstream

Represent graphs, differently https://stavalfi.github.io/jstream/
2 stars 0 forks source link

support flow failure #16

Closed stavalfi closed 5 years ago

stavalfi commented 5 years ago

I should make a distinction between cancellation and failure of a flow. for a given flow or workflow, they can have the same logic (I will have a different property to define both cancellation and failure) or different logic under the different property.

This issue is for failure only.

failure of a flow comes from an error raised by the flow function or a rejection of the promise returned from the flow function.

stavalfi commented 5 years ago

it is irrelevant for v2. this feature will be implemented by the user.