(ticks: number)
| 167 | } |
| 168 | |
| 169 | async runFor(ticks: number) { |
| 170 | this._replayLogOnce(); |
| 171 | if (ticks < 0) |
| 172 | throw new TypeError('Negative ticks are not supported'); |
| 173 | await this._runWithDisabledRealTimeSync(async () => { |
| 174 | await this._runTo(shiftTicks(this._now.ticks, ticks)); |
| 175 | }); |
| 176 | } |
| 177 | |
| 178 | private async _runTo(to: Ticks) { |
| 179 | to = Math.ceil(to) as Ticks; |
nothing calls this directly
no test coverage detected