API Reference › Globals › CommunicationInterface
# Class: CommunicationInterface
# Hierarchy
CommunicationInterface
# Index
# Constructors
# Methods
# Constructors
# constructor
+ new CommunicationInterface(_callbacks
: CommunicationInterfaceCallback, eventListener
: any): CommunicationInterface
Defined in packages/workers/src/communication-interface.ts:50
Parameters:
Name | Type |
---|---|
_callbacks | CommunicationInterfaceCallback |
eventListener | any |
Returns: CommunicationInterface
# Methods
# handleEvent
▸ handleEvent(e
: MessageEvent): void
Defined in packages/workers/src/communication-interface.ts:64
Parameters:
Name | Type |
---|---|
e | MessageEvent |
Returns: void
# setEventPoster
▸ setEventPoster(eventPoster
: any): void
Defined in packages/workers/src/communication-interface.ts:60
Parameters:
Name | Type |
---|---|
eventPoster | any |
Returns: void