type ActivityRouter.RouteTable
A route table mapping patterns to one or more route arguments.
type RouteTable = {
[pattern: string]: RouteArg<any> | RouteArg<any>[];
};Notes
- Each key is a route pattern and each value is a RouteArg or array of route args. Use with app.addRoutes().
Related
class ActivityRouter
A class that manages activation and deactivation of activities, with support for path-based routing.addRoutes()
Registers route patterns with activities or factory functions.
