Interface MessageBatch<Body>

interface MessageBatch<Body> {
    messages: readonly Message<Body>[];
    queue: string;
    ackAll(): void;
    retryAll(options?): void;
}

Type Parameters

  • Body = unknown

Properties

Methods

Properties

messages: readonly Message<Body>[]
queue: string

Methods

  • Returns void

  • Parameters

    Returns void