Class: WorkerInterface

WorkerInterface()

Class used for communication between worker and worker manager

Constructor

new WorkerInterface()

Source:

Methods

onMessage(event) → {null}

Event called when this class receives a message, calls method based on the received message
Parameters:
Name Type Description
event event the message received
Source:
Returns:
doesnt return anything
Type
null

reply() → {null}

Call post message function and transforms the arguments to object that can be send using this function
Source:
Returns:
doesnt return anything
Type
null