Interface Consumer

Hierarchy

  • Consumer

Properties

Methods

Properties

emitter: TypedEventEmitter<ConsumerEvents>
isClosed: boolean
isClosing: boolean

Methods

  • Wait for all current messages to finish and then close the consumer

    Returns Promise<void>

  • Change the prefetch

    Parameters

    • prefetch: number

      Amount of messages to be unacked in the consumer

    Returns Empty

Generated using TypeDoc