Class ConfirmProducer<T>

Type Parameters

  • T extends string | object | Buffer

Hierarchy

  • RabbitSession<ConfirmChannel>
    • ConfirmProducer

Constructors

Properties

_cache: Barbeque<[content: Buffer, options: Publish, callback: ((err, ok) => void)]> = ...
_send: ((content, options, callback) => void)

Type declaration

    • (content, options, callback): void
    • Parameters

      • content: Buffer
      • options: Publish
      • callback: ((err, ok) => void)
          • (err, ok): void
          • Parameters

            • err: any
            • ok: Empty

            Returns void

      Returns void

channel: undefined | ConfirmChannel
channel_drain: boolean = true
injector: Injector

Methods

  • Parameters

    • callback: ((channel) => void)
        • (channel): void
        • Parameters

          • channel: Channel

          Returns void

    Returns void

Generated using TypeDoc