Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageProducer<T>

Represents a stream of message that can be written to.

Type parameters

  • T

Hierarchy

  • MessageProducer

Index

Methods

address

  • address(): string
  • Returns string

close

  • Same as {@link MessageProducer#close} but with an handler called when the operation completes

    Returns PromiseLike<void>

  • Same as {@link MessageProducer#close} but with an handler called when the operation completes

    Parameters

    Returns void

deliveryOptions

  • Update the delivery options of this producer.

    Parameters

    Returns MessageProducer<T>

write

  • Write a message to the event-bus, either sending or publishing.

    Parameters

    • body: T

    Returns PromiseLike<void>

  • Write a message to the event-bus, either sending or publishing.

    Parameters

    Returns void

Generated using TypeDoc