API Reference › Globals › CommunicationInterfaceCallback
# Interface: CommunicationInterfaceCallback
# Hierarchy
- CommunicationInterfaceCallback
# Implemented by
# Index
# Methods
# Methods
# onCommand
▸ onCommand(command
: WORKER_MESSAGE, conversationId
: number, data
: any): void
Defined in packages/workers/src/communication-interface.ts:23
Parameters:
Name | Type |
---|---|
command | WORKER_MESSAGE |
conversationId | number |
data | any |
Returns: void