Class: WorkerApp

WorkerApp

new WorkerApp()

the application class that runs in this worker
Source:

Methods

continue()

continue with the algorithm
Source:

done(options)

called whenever the algorithm is completed
Parameters:
Name Type Description
options
Source:

pause(options)

called whenever the algorithm yields
Parameters:
Name Type Description
options
Source:

pauseOrContinue(options)

if we are done with the last set of render commands then call continue otherwise send the next batch
Parameters:
Name Type Description
options
Source:

postError(error)

post the exception to the main thread. The worker is usually terminated on exceptions so we don't need to do anything else.
Parameters:
Name Type Description
error
Source: