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 |
{Promise |
Returns:
Promise<void>