On September 25th, 2024, we released v2 of the Apps SDK. To learn what’s new and how to upgrade, see Migration FAQ and Migration guide.

appProcess.broadcastMessage

API reference for the appProcess.broadcastMessage method.
This version of the API is a preview. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable.

Broadcasts a message to all of the app's active processes, not including the current process.

Parameters

messageany
REQUIRED

The message to be broadcasted. This can be any kind of structured data.

Returns

void