Function: stepThrough()
ts
function stepThrough<Input, Sim>(
sim,
replay,
simulation,
from,
upTo?
): void;Defined in: lockstep.ts:142
Advances sim, which is at turn from, to turn upTo over a recording. The recording may start anywhere at or before from.
Type Parameters
| Type Parameter |
|---|
Input |
Sim |
Parameters
| Parameter | Type | Default value |
|---|---|---|
sim | Sim | undefined |
replay | Replay<Input> | undefined |
simulation | Simulation<Input, Sim> | undefined |
from | number | undefined |
upTo? | number | replay.turn |
Returns
void