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

Method unregister

packages/core/timer/index.ios.ts:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 public unregister() {
37 if (!this.disposed) {
38 this.disposed = true;
39
40 const timer = timeoutCallbacks.get(this.id).k;
41 timer.invalidate();
42 timeoutCallbacks.delete(this.id);
43 }
44 }
45
46 public static ObjCExposedMethods = {
47 tick: { returns: interop.types.void, params: [NSTimer] },

Callers 2

tickMethod · 0.95
clearTimeoutFunction · 0.80

Calls 3

getMethod · 0.65
invalidateMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected