(res: R)
| 56 | * @developerPreview 22.2 |
| 57 | */ |
| 58 | export function nonBlocking<T, R extends Resource<T>>(res: R): R { |
| 59 | (res as unknown as InternalRouterResource<T>)[BLOCKING_SYMBOL] = false; |
| 60 | return res; |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Wraps a Resource to make it cooperative with the Angular Router, freezing its state |
no outgoing calls
no test coverage detected