M3D / M3D / Utility / WorkHelper
Class: WorkHelper
File
线程工具类
Brief
用于线程的创建
Author
YW
Date
2022-7-28
Version
1.0
Table of contents
Constructors
Methods
Constructors
constructor
• new WorkHelper(): WorkHelper
Returns
Methods
buildBridgedWorker
▸ buildBridgedWorker(className
, workerFunction
, workerExportNames
, mainExportNames
, mainExportHandles
): Object
Parameters
Name | Type |
---|---|
className | any |
workerFunction | any |
workerExportNames | any |
mainExportNames | any |
mainExportHandles | any |
Returns
Object
Name | Type |
---|---|
blobURL | string |