MCPcopy
hub / github.com/angular/angular / callback

Function callback

packages/router/test/integration/router_events.spec.ts:132–132  ·  view source on GitHub ↗
(r: boolean)

Source from the content-addressed store, hash-verified

130 const fixture = await createRoot(router, RootCmp);
131 let result = null as boolean | null;
132 const callback = (r: boolean) => (result = r);
133 router.resetConfig([{path: 'user/:name', component: UserCmp}]);
134
135 router.navigateByUrl('/user/frodo').then(callback);

Callers 2

checkRedirectFunction · 0.50
upgrade.spec.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…