Interface Message<Body>

interface Message<Body> {
    attempts: number;
    body: Body;
    id: string;
    timestamp: Date;
    ack(): void;
    retry(options?): void;
}

Type Parameters

  • Body = unknown

Properties

Methods

Properties

attempts: number
body: Body
id: string
timestamp: Date

Methods

  • Returns void

  • Parameters

    Returns void