earthsdk3-cesium 3.7.0-beta.18 → 3.7.0-beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ export declare class WorkerPool extends Destroyable {
3
3
  private workers;
4
4
  private queue;
5
5
  private destroyed;
6
- constructor(url: string | URL, workerCount?: number, workerOptions?: WorkerOptions);
6
+ constructor(createWorker: () => Worker, workerCount?: number);
7
7
  /**
8
8
  * 获取空闲 worker,如果都被占用,则等待
9
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "earthsdk3-cesium",
3
- "version": "3.7.0-beta.18",
3
+ "version": "3.7.0-beta.19",
4
4
  "description": "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn",
5
5
  "type": "module",
6
6
  "main": "./dist/earthsdk3-cesium.umd.cjs",