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

    Interface MessageBusOptions

    interface MessageBusOptions {
        errorHandler: (e: unknown) => void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    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)