Skip to main content

BroadcastMessage

Description

Sends a synchronous broadcast message to all shellUI modules of all applications running in the current shellUI (main-window).

Syntax

// shellUI points to instance of IShellUI
await shellUI.BroadcastMessage(msgID, data);

Parameters

NameTypeDescription
msgIDstringThe broadcast message ID for the listeners.
dataobjectThe broadcast payload data.

Return type

TypeDescription
Promise < void >Method does not return a value