MCPcopy Index your code
hub / github.com/JavaCS3/xterm-player / _tick

Method _tick

src/Timer.ts:287–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

285 }
286
287 private _tick() {
288 // In Safari, the audio currentTime may exceed it's duration,
289 // or a little bit less than the duration
290 if (this.isStopped() && this._ticker.running) {
291 this.stop()
292 }
293 this._onTickCb(this.time)
294 }
295
296 public start(): void {
297 if (!this._ready) { return }

Callers

nothing calls this directly

Calls 2

isStoppedMethod · 0.95
stopMethod · 0.95

Tested by

no test coverage detected