interface Publisher { publish(subject,
data,
options?): 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