MCPcopy
hub / github.com/angular/angular / getIdleRequestKey

Function getIdleRequestKey

packages/core/src/defer/idle_scheduler.ts:160–166  ·  view source on GitHub ↗

Generates a string that can be used to find identical idle request option objects.

(options?: IdleRequestOptions)

Source from the content-addressed store, hash-verified

158
159/** Generates a string that can be used to find identical idle request option objects. */
160function getIdleRequestKey(options?: IdleRequestOptions): string {
161 if (!options || options.timeout == null) {
162 return '';
163 }
164
165 return `${options.timeout}`;
166}

Callers 2

addMethod · 0.85
scheduleBucketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…