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

Function clearTimeout

packages/core/timer/index.ios.ts:78–83  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

76}
77
78export function clearTimeout(id: number): void {
79 const pair = timeoutCallbacks.get(<number>(<any>id));
80 if (pair && pair.v) {
81 pair.v.unregister();
82 }
83}
84
85export function setInterval(callback: Function, milliseconds = 0, ...args): number {
86 const invoke = () => callback(...args);

Callers 8

healthCheckFunction · 0.50
debounceFunction · 0.50
disposeNativeViewMethod · 0.50
clearDismissTimerFunction · 0.50
tryNextFunction · 0.50
pageLoadedFunction · 0.50

Calls 2

unregisterMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected