foundation-fdc3.fdc3.broadcastonchannel
Home > @genesislcap/foundation-fdc3 > FDC3 > broadcastOnChannel
FDC3.broadcastOnChannel() method
Broadcasts a message on a given channel with a given type
Signature:
broadcastOnChannel(channelName: string, type: string, payload: any): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
channelName |
string |
name of the channel |
|
type |
string |
type of the channel |
|
payload |
any |
payload sent to the channel |
Returns:
Promise<void>