func fork()

in RIBs/Classes/Workflow/Workflow.swift [188:194]


    func fork<WorkflowActionableItemType, ActionableItemType, ValueType>(_ workflow: Workflow<WorkflowActionableItemType>) -> Step<WorkflowActionableItemType, ActionableItemType, ValueType>? {
        if let stepObservable = self as? Observable<(ActionableItemType, ValueType)> {
            workflow.didFork()
            return Step(workflow: workflow, observable: stepObservable)
        }
        return nil
    }