MessageManager

Class

The MessageManager is used to manage message and message action. When you need to publish a message in widget, you can use MessageManager.getInstance().publishMessage().

Constructors

constructor
new MessageManager(): MessageManager

Methods

publishMessage
publishMessage(messageMessage): Promise<void>

Publish a message: the registered message actions that match will be executed.

Parameters
  • messageMessage

    The message to be published.

Returns 
Promise<void>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.