Skip to main content

foundation-fdc3.fdc3.broadcastonchanneleventhandler

Home > @genesislcap/foundation-fdc3 > FDC3 > broadcastOnChannelEventHandler

FDC3.broadcastOnChannelEventHandler() method

Helper function to broadcast message on channel in response to dispatched event

Signature:

broadcastOnChannelEventHandler(channelName: string, type: string): Promise<(e: any) => Promise<void>>;

Parameters

Parameter

Type

Description

channelName

string

name of the channel

type

string

type of the channel

Returns:

Promise<(e: any) => Promise<void>>