Interface ConsumerMessages

interface ConsumerMessages {
    [asyncIterator](): AsyncIterator<JsMsg, any, undefined>;
    close(): Promise<void | Error>;
    closed(): Promise<void | Error>;
    getPending(): number;
    getProcessed(): number;
    getReceived(): number;
    push(v): void;
    status(): Promise<AsyncIterable<ConsumerStatus>>;
    stop(err?): void;
}

Hierarchy (view full)

Methods

  • Returns Promise<void | Error>

  • Returns Promise<void | Error>

  • Parameters

    Returns void

  • Parameters

    • Optional err: Error

    Returns void