Function: broadcast()
function broadcast(request, context): Promise<void>;
Defined in: functions/events.ts:28
Broadcast - Sends a broadcast to a room.
This callback fires when data is broadcast from a connected client via .emit in the context of a room.
The data is processed into a returnable event and data combination and then dispatched
to the same room the requesting user belongs to.
Parameters
| Parameter | Type | Description |
|---|---|---|
request | SocketIODataTrigger | The SocketIODataTrigger |
context | InvocationContext | The Invocation Context (metadata) |
Returns
Promise<void>