@bluelibs/runner - v6.3.1
    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;
        report?: boolean;
        signal?: AbortSignal;
        source: RuntimeCallSource;
        throwOnError?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Controls error behavior during listener execution.

    • fail-fast (default): throw on first failure.
    • aggregate: continue execution and collect listener errors.
    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.

    throwOnError?: boolean

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