haredo

    Interface Middleware<T>

    Type Parameters

    • T = unknown
    • Parameters

      • message: HaredoMessage<T>

        The received message

      • next: () => Promise<void>

        A function that returns a promise for the next item in the callback stack. If you don't call it and don't ack/nack the message then it will be called for you

      Returns void | Promise<void>

    MMNEPVFCICPMFPCPTTAAATR