@lppedd/message-bus - v0.9.1
    Preparing search index...

    Interface ChildMessageBusOptions

    interface ChildMessageBusOptions {
        copyInterceptors: boolean;
        copyListeners: boolean;
        errorHandler: (e: unknown) => void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    copyInterceptors: boolean

    Whether to copy MessageInterceptor(s) from the parent bus.

    true
    
    copyListeners: boolean

    Whether to copy MessageListener(s) from the parent bus.

    true
    
    errorHandler: (e: unknown) => void | Promise<void>

    A handler for errors thrown from message handlers.

    Note that if the error handler returns a promise, it is not awaited.

    (e) => console.error(e)