nexus-agents - v2.80.0
    Preparing search index...

    Interface BenchmarkRunContext

    Execution context handed to a runner.

    Keep this interface narrow — benchmarks that need more (e.g. access to specific adapters) should take those as constructor args, not widen this.

    interface BenchmarkRunContext {
        timeoutMs: number;
        onProgress?: (completed: number, total: number, label?: string) => void;
        signal?: AbortSignal;
    }
    Index

    Properties

    timeoutMs: number

    Per-instance timeout budget in milliseconds.

    onProgress?: (completed: number, total: number, label?: string) => void

    Emit progress updates for long-running benchmarks.

    signal?: AbortSignal

    Optional abort signal for cancellation.