Interface Publisher

interface Publisher {
    publish(subject, data, options?): void;
}

Methods

Methods

  • Parameters

    • subject: string
    • data: Payload
    • Optional options: {
          headers?: MsgHdrs;
          reply?: string;
      }
      • Optional headers?: MsgHdrs
      • Optional reply?: string

    Returns void