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

Method tick

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

Source from the content-addressed store, hash-verified

24 }
25
26 public tick(timer): void {
27 if (!this.disposed) {
28 this.callback();
29 }
30
31 if (!this.shouldRepeat) {
32 this.unregister();
33 }
34 }
35
36 public unregister() {
37 if (!this.disposed) {

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.95
callbackMethod · 0.80

Tested by

no test coverage detected