FlowContributor
A FlowContributor describes the next thing that will contribute to a Flow.
- contribute: the given stepper will emit steps (according to lifecycle of the given presentable and the allowStepWhenNotPresented parameter) that will contribute to the current Flow
- forwardToCurrentFlow: the given step will be forwarded to the current flow
- forwardToParentFlow: the given step will be forwarded to the parent flow
-
the given stepper will emit steps, according to lifecycle of the given presentable, that will contribute to the current Flow an extra parameter
allowStepWhenNotPresented
can be passed to make the coordinator accept the steps from the stepper even id the presentable is not visible -
the “withStep” step will be forwarded to the current flow
-
the “withStep” step will be forwarded to the parent flow
-
Shortcut static func that returns a .contribute(withNextPresentable: _, withNextStepper: _) in case we have a single actor that is a Presentable and also a Stepper