- create(workerFunction: ((data: any) => void), messageCallbackFunction: ((data: any) => void)): Worker
-
Parameters
-
workerFunction: ((data: any) => void)
-
- (data: any): void
-
Returns void
-
messageCallbackFunction: ((data: any) => void)
-
- (data: any): void
-
Returns void
Returns Worker