Route Module
Functions and values
Function or value | Description |
Full Usage:
canActivate guard definition
Parameters:
RouteContext -> INavigable<'a> -> Async<GuardResponse>
-
A function that returns a boolean
definition : RouteDefinition<'a>
-
The route definition
Returns: RouteDefinition<'a>
The route definition with the guard added
Modifiers: inline Type parameters: 'a |
|
Full Usage:
canActivateTask guard definition
Parameters:
RouteContext -> INavigable<'a> -> CancellationToken -> Task<GuardResponse>
-
A function that returns a task of boolean
definition : RouteDefinition<'a>
-
The route definition
Returns: RouteDefinition<'a>
The route definition with the guard added
Modifiers: inline Type parameters: 'a |
|
Full Usage:
canDeactivate guard definition
Parameters:
RouteContext -> INavigable<'a> -> Async<GuardResponse>
-
A function that returns a boolean
definition : RouteDefinition<'a>
-
The route definition
Returns: RouteDefinition<'a>
The route definition with the guard added
Modifiers: inline Type parameters: 'a |
|
Full Usage:
canDeactivateTask guard definition
Parameters:
RouteContext -> INavigable<'a> -> CancellationToken -> Task<GuardResponse>
-
A function that returns a task of boolean.
definition : RouteDefinition<'a>
-
The route definition
Returns: RouteDefinition<'a>
The route definition with the guard added
Modifiers: inline Type parameters: 'a |
|