Flowable

public struct Flowable

A Flowable is the result of the coordination action between a Flow and a Step (See Flow.navigate(to:) function) It describes the next thing that will be presented (a Presentable) and the next thing the Coordinator will listen to have the next navigation Steps (a Stepper). If a navigation action does not have to lead to a Flowable, it is possible to have an empty Flowable array

  • Initialize a new Flowable

    Declaration

    Swift

    public init(nextPresentable presentable: Presentable? = nil, nextStepper stepper: Stepper? = nil)

    Parameters

    nextPresentable

    the next presentable to be handled by the Coordinator

    nextStepper

    the next Steper to be handled by the Coordinator

  • An empty Flowable that won’t be taken care of by the Coordinator

    Declaration

    Swift

    public static var empty: Flowable
  • A empty Flowable’s array

    Declaration

    Swift

    public static var noFlow: [Flowable]