SingleNavigationRouter

public struct SingleNavigationRouter<R> : Router where R : Router
extension SingleNavigationRouter: InterceptableRouter where R: InterceptableRouter

The Router proxy guarantees that not more than one navigation will happen simultaneously.

It is useful to avoid situations when the application can not control the amount of navigations (for example, a navigation triggered by the push notifications)

Properties

Methods

Available where R: InterceptableRouter

  • Declaration

    Swift

    public mutating func add<RI>(_ interceptor: RI) where RI : RoutingInterceptor, RI.Context == Any?
  • Declaration

    Swift

    public mutating func add<CT>(_ contextTask: CT) where CT : ContextTask, CT.Context == Any?, CT.ViewController == UIViewController
  • Declaration

    Swift

    public mutating func add<PT>(_ postTask: PT) where PT : PostRoutingTask, PT.Context == Any?