Editor.Worker
Class: Editor.Worker
new Editor.Worker (name[, options])
namestring - The worker name.optionsobjectworkerTypestring - Can be one of the list:renderer: Indicate the worker is running in a hidden windowmain: 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 argumentscbfunction - The callback function
Starts the worker.