@langwatch/scenario
    Preparing search index...

    Class InterruptionConfig

    Configuration for random interruptions during proceed({ interruptions }).

    Defaults match the Python source. pickRandomPhrase/sampleDelay/ shouldInterrupt accept an optional rng so callers can pass a seeded PRNG for deterministic tests; otherwise Math.random is used.

    Index

    Constructors

    Properties

    delayRange: readonly [number, number]
    phrases: readonly string[]
    probability: number

    Methods