Constructors
constructor
- new WebWorker(workerTask: Function): WebWorker
Methods
run
- run(paramsToSend: Object, transfer: Array<any>): Promise<Object>
-
Parameters
-
paramsToSend: Object
-
Optional transfer: Array<any>
Returns Promise<Object>
runOneTimeThrowAwayWorker
- runOneTimeThrowAwayWorker(paramsToSend: Object, transfer: Array<any>): Promise<Object>
-
Parameters
-
paramsToSend: Object
-
Optional transfer: Array<any>
Returns Promise<Object>