@langwatch/scenario
    Preparing search index...

    Type Alias ScriptStep

    ScriptStep: (
        state: ScenarioExecutionStateLike,
        executor: ScenarioExecutionLike,
    ) => Promise<void | ScenarioResult | null> | void | ScenarioResult | null

    A step in a scenario script. This is a function that takes the current state and an executor, and performs an action.

    Type declaration