Skip to content

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 ​

ParameterTypeDefault value
simSimundefined
replayReplay<Input>undefined
simulationSimulation<Input, Sim>undefined
fromnumberundefined
upTo?numberreplay.turn

Returns ​

void

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.