Setu-TS
    Preparing search index...

    Interface EventsMessagingBridgeOptions

    Options for the EventsMessagingBridge factory.

    0.1.0

    interface EventsMessagingBridgeOptions {
        errorHandler?: (error: unknown, eventType: string) => void;
        eventTypes: readonly string[];
        token?: string;
        topicMapping?: (eventType: string) => string;
    }
    Index
    errorHandler?: (error: unknown, eventType: string) => void

    Custom error handler for publish failures.

    Logs via optional logger, then swallows
    
    eventTypes: readonly string[]

    The event types to forward to the messaging broker.

    token?: string

    The capability token for the messaging broker to use.

    CAPABILITIES.MESSAGING ('messaging')

    topicMapping?: (eventType: string) => string

    Function to map event types to broker topics.

    Identity function (event type becomes topic)