Type alias ConsumeParams

ConsumeParams: {
    args?: Record<string, any>;
    exclusive?: boolean;
    noAck?: boolean;
    tag?: string;
}

Type declaration

  • Optional args?: Record<string, any>

    custom arguments

  • Optional exclusive?: boolean

    if this can be the only consumer of the queue, will return an Error if there are other consumers to the queue already

  • Optional noAck?: boolean

    if messages are removed from the server upon delivery, or have to be acknowledged

  • Optional tag?: string

    tag of the consumer, will be server generated if left empty

Generated using TypeDoc