- prepareRouter<T>(zone): ((...args: []) => Guarded<{
getRoutes(addr: string): [string, T][];
register(prefix: string, route: T): void;
unregister(prefix: string, route: T): void;
}>) Returns ((...args: []) => Guarded<{
getRoutes(addr: string): [string, T][];
register(prefix: string, route: T): void;
unregister(prefix: string, route: T): void;
}>)
- (...args): Guarded<{
getRoutes(addr: string): [string, T][];
register(prefix: string, route: T): void;
unregister(prefix: string, route: T): void;
}> Returns Guarded<{
getRoutes(addr: string): [string, T][];
register(prefix: string, route: T): void;
unregister(prefix: string, route: T): void;
}>