Documentation / @zerotal/broadcasting / broadcast
Function: broadcast()
broadcast(
event):PendingBroadcast
Defined in: broadcasting/src/PendingBroadcast.ts:48
Broadcast an event with fluent modifiers. Sends automatically (no .send() needed).
Parameters
event
Returns
Example
broadcast(new OrderShipmentStatusUpdated(update)).toOthers();
await broadcast(new OrderShipmentStatusUpdated(update));