@bluelibs/runner - v6.9.0
    Preparing search index...

    Interface IEventEmissionCallOptions

    Low-level event emission call options used by runtime internals.

    Dependency-injected event emitters already know their source, so they only expose IEventEmitOptions. Lower-level APIs such as EventManager still need the caller to provide source metadata explicitly for lifecycle admission checks and execution tracing.

    interface IEventEmissionCallOptions {
        failureMode?: EventEmissionFailureMode;
        idempotencyKey?: string;
        report?: boolean;
        signal?: AbortSignal;
        source: RuntimeCallSource;
        stepId?: string;
        throwOnError?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Controls error behavior during listener execution.

    • fail-fast (default): throw on first failure.
    • aggregate: continue execution and collect listener errors.
    idempotencyKey?: string

    Optional domain deduplication key for durable event submissions.

    report?: boolean

    When true, emit(...)/dependency event emitter returns IEventEmitReport.

    signal?: AbortSignal

    Cooperative cancellation signal for the emission lifecycle.

    Identifies who is emitting the event for admission control, tracing, and listener self-skip checks.

    stepId?: string

    Stable call-site identity when emitting a durable event from a workflow.

    throwOnError?: boolean

    When false, suppress throwing even if listener errors occurred. Defaults to true.