MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / setDuration

Method setDuration

packages/core/src/runtime/clock.ts:115–120  ·  view source on GitHub ↗
(duration: number)

Source from the content-addressed store, hash-verified

113 }
114
115 setDuration(duration: number): void {
116 this._duration = Number.isFinite(duration) && duration > 0 ? duration : Infinity;
117 if (this._baseTime > this._duration) {
118 this._baseTime = this._duration;
119 }
120 }
121
122 getDuration(): number {
123 return this._duration;

Callers 6

clock.test.tsFile · 0.80
transportTickFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected