MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / setTimeout

Function setTimeout

packages/core/timer/index.ios.ts:72–76  ·  view source on GitHub ↗
(callback: Function, milliseconds = 0, ...args)

Source from the content-addressed store, hash-verified

70}
71
72export function setTimeout(callback: Function, milliseconds = 0, ...args): number {
73 const invoke = () => callback(...args);
74
75 return createTimerAndGetId(zonedCallback(invoke), milliseconds, false);
76}
77
78export function clearTimeout(id: number): void {
79 const pair = timeoutCallbacks.get(<number>(<any>id));

Callers 15

healthCheckFunction · 0.50
debounceFunction · 0.50
throttleFunction · 0.50
snapshotViewFunction · 0.50
setupConfigListenerFunction · 0.50
onTabChangedMethod · 0.50
_scheduleNormalizeMethod · 0.50
openMethod · 0.50
showPrimaryMethod · 0.50
showInspectorMethod · 0.50

Calls 1

createTimerAndGetIdFunction · 0.85

Tested by

no test coverage detected