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

Method _setState

src/Timer.ts:280–285  ·  view source on GitHub ↗
(state: ITimerState)

Source from the content-addressed store, hash-verified

278 public set timescale(s: number) { this._media.playbackRate = s }
279
280 private _setState(state: ITimerState) {
281 if (this._state !== state) {
282 this._state = state
283 this._onStateChangeCb(this._state)
284 }
285 }
286
287 private _tick() {
288 // In Safari, the audio currentTime may exceed it's duration,

Callers 5

constructorMethod · 0.95
stopMethod · 0.95
disposeMethod · 0.95
bundle.min.jsFile · 0.45
gFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected