It should be possible to use a ReactorConfiguration in order to configure certain behaviours, for example:
Not using persistence
Not using Reachability
The flow not failing when saveToPersistenceFlow fails, but the network succeeds. 🎉
The flow using saveToPersistenceFlow as a side effect and not as part of the flow. Right now the entire flows waits until saveToPersistenceFlow is done, we could potentially save some milliseconds.😅
Currently the parser will discard bad objects (when parsing an array) and keeps going. It would be good to allow the user to fail the entire flow when the parser can't parse a single element. ✨
I envision this with as a simple ReactorConfiguration struct being passed to the Reactor<T> initializer.
It should be possible to use a
ReactorConfiguration
in order to configure certain behaviours, for example:saveToPersistenceFlow
fails, but the network succeeds. 🎉saveToPersistenceFlow
as a side effect and not as part of the flow. Right now the entire flows waits untilsaveToPersistenceFlow
is done, we could potentially save some milliseconds.😅I envision this with as a simple
ReactorConfiguration
struct being passed to theReactor<T>
initializer.