MCPcopy
hub / github.com/angular/angular / delayWithTimeout

Function delayWithTimeout

packages/service-worker/src/provider.ts:124–126  ·  view source on GitHub ↗
(timeout: number)

Source from the content-addressed store, hash-verified

122}
123
124function delayWithTimeout(timeout: number): Promise<void> {
125 return new Promise((resolve) => setTimeout(resolve, timeout));
126}
127
128export function ngswCommChannelFactory(): NgswCommChannel {
129 const opts = inject(SwRegistrationOptions);

Callers 1

ngswAppInitializerFunction · 0.85

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…