Skip to main content

createSyntheticEngine

@forge/monorepo


@forge/monorepo / backend/src / createSyntheticEngine

Function: createSyntheticEngine()

createSyntheticEngine(deps): AgentEngine

Defined in: backend/src/loadtest/scenario.ts:165

The engine.

Resumable, because the whole point of the worker-kill case is that a restarted run must not redo work. It reads resume and skips the steps already in the checkpoint — and the external effect is keyed on the run and the step, so a step that is redone reuses its key and the duplicate is detectable rather than invisible.

Parameters

deps

SyntheticEngineDeps

Returns

AgentEngine