Tasks
-
RoutingInterceptoris called before the actual navigation process happens. e.g. user should be logged in.NB
Interceptor is an asynchronous action. For the
See moreRouterto continue the navigation process, thecompletionblock of the interceptor’s execute method MUST be called. Otherwise, theRouterwill stay in a limbo state waiting for the interceptor to finish its action.Declaration
Swift
@MainActor public protocol RoutingInterceptor -
The task to be applied after a
UIViewControllerwas created or found.NB
The
See moreContextTaskwill be applied to the newUIViewControllerbefore it’s integration into the stack.Declaration
Swift
@MainActor public protocol ContextTask -
The task to be executed after navigation process happened.
See moreDeclaration
Swift
@MainActor public protocol PostRoutingTask
Tasks Reference