mongomq2

    Interface MessageQueueEvents<TMessage>

    interface MessageQueueEvents<TMessage extends WithOptionalObjectId> {
        deadLetter: (
            err: Error,
            message: WithId<TMessage>,
            group: string,
        ) => void;
        drained: (group: string) => void;
        error: (err: Error, message?: TMessage, group?: string) => void;
        [key: string]: GenericListener;
    }

    Type Parameters

    Hierarchy (View Summary, Expand)

    Indexable

    • [key: string]: GenericListener
    Index

    Properties

    deadLetter: (err: Error, message: WithId<TMessage>, group: string) => void
    drained: (group: string) => void
    error: (err: Error, message?: TMessage, group?: string) => void
    MMNEPVFCICPMFPCPTTAAATR