MCPcopy Create free account
hub / github.com/angular/angular / nonBlocking

Function nonBlocking

packages/router/src/router_resource.ts:49–52  ·  view source on GitHub ↗
(res: R)

Source from the content-addressed store, hash-verified

47 * @experimental
48 */
49export function nonBlocking<T, R extends Resource<T>>(res: R): R {
50 (res as unknown as InternalRouterResource<T>)[BLOCKING_SYMBOL] = false;
51 return res;
52}
53
54/**
55 * Wraps a Resource to make it cooperative with the Angular Router, freezing its state

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected