ExposedApi.Internal.MessageHandler

Embedding API Reference / Modules / exposed-api / <internal> / MessageHandler

Class: MessageHandler

exposed-api.<internal>.MessageHandler

Table of contents

Constructors

Methods

Constructors

constructor

new MessageHandler(side, incomingMessageBus, outgoingMessageBus, messageExecution): MessageHandler

Parameters

Returns

MessageHandler

Methods

sendMessage

sendMessage(message, args?): Promise<any>

Parameters

Returns

Promise<any>


setMessageExecution

setMessageExecution(fun): void

Parameters

Returns

void


setOutgoingMessageBus

setOutgoingMessageBus(outgoingMessageBus): void

Parameters

Returns

void

Last updated