@loaders.gl/worker-utils
Version:
Utilities for running tasks on worker threads
9 lines • 364 B
TypeScript
import type { WorkerObject } from "../../types.js";
/**
* Check if worker is compatible with this library version
* @param worker
* @param libVersion
* @returns `true` if the two versions are compatible
*/
export declare function validateWorkerVersion(worker: WorkerObject, coreVersion?: string): boolean;
//# sourceMappingURL=validate-worker-version.d.ts.map