interface Publisher { publish(subject: string,
data: Payload,
options?: { headers?: MsgHdrs; reply?: string; }): void; } Methods
publish
- publish(subject, data, options?): void
Parameters
- subject: string
- data: Payload
Optional
options: {
headers?: MsgHdrs;
reply?: string;
}Optional
headers?: MsgHdrs
Optional
reply?: string
Returns void