Configurator.Internal.MainThreadToWorker
configurator-core/src/configurator.internal.MainThreadToWorker
Hierarchy
↳
MainThreadToWorker
Table of contents
Constructors
Methods
Constructors
constructor
• new MainThreadToWorker(callback
, eventListener
)
Parameters
Name | Type |
---|---|
| |
|
|
Overrides
CommunicationInterface.constructor
Methods
handleEvent
▸ handleEvent(e
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
CommunicationInterface.handleEvent
resolvePromises
▸ resolvePromises(conversationId
, data
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
sendToWorker
▸ sendToWorker(command
, data?
, resolve?
, reject?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
| |
|
|
|
| (... |
|
| (... |
|
Returns
void
setEventPoster
▸ setEventPoster(eventPoster
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
Last updated