Skip to main content
Version: Next

Publisher

A publisher is used to send messages to a subscription handler.

Methods

publish()

publish(payload): Promise<void>;

Publish a message to the subscription handler.

Parameters

ParameterTypeDescription
payloadObjectthe message payload

Returns

Promise<void>