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
Name | Type |
---|---|
| |
| |
| |
|
Returns
Methods
sendMessage
▸ sendMessage(message
, args?
): Promise
<any
>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
Promise
<any
>
setMessageExecution
▸ setMessageExecution(fun
): void
Parameters
Name | Type |
---|---|
|
Returns
void
setOutgoingMessageBus
▸ setOutgoingMessageBus(outgoingMessageBus
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Last updated