Home > @imqueue/rpc > IMQClient > broadcast

IMQClient.broadcast() method

Broadcasts given payload to all other service clients subscribed. So this is like client-to-clients publishing.

Signature:

broadcast(payload: JsonObject): Promise<void>;

Parameters

Parameter

Type

Description

payload

JsonObject

{Promise}

Returns:

Promise<void>