NilAction

@MainActor
public struct NilAction : Action

Helper Action that does nothing

Methods

  • Does nothing and always succeeds

    Declaration

    Swift

    @MainActor
    public func perform(with viewController: UIViewController, on existingController: UIViewController, animated: Bool, completion: @escaping (RoutingResult) -> Void)

Shorthands

  • Action does nothing, but can be helpful for testing or writing the sequences of steps with the NilFactory

    Declaration

    Swift

    @MainActor
    static var nilAction: `Self` { get }