StepExecutionEngine

constructor(planBuilder: (C) -> List<Step<C>>, timeBufferMs: Long = 200)

Parameters

C

The context type shared across all steps.

planBuilder

A lambda that builds the list of steps to execute, based on the context.

timeBufferMs

Minimum buffer (ms) required before starting the next step.