Editor.Worker
Class: Editor.Worker
new Editor.Worker (name[, options])
- namestring - The worker name.
- optionsobject- workerTypestring - Can be one of the list:- renderer: Indicate the worker is running in a hidden window
- main: Indicate the worker is running is a process
 
- urlstring - The url of renderer worker.
 
Instance Methdos
worker.close ()
Close the worker.
worker.dispose ()
Dereference the native window.
worker.on (message[, ...args])
- messagestring
- ...args... - Whatever arguments the message needs.
worker.start (argv, cb)
- argvobject - The arguments
- cbfunction - The callback function
Starts the worker.
