2021-08-06 15:13:51 +00:00
|
|
|
export declare function _workerUrl(workerCode: string): string;
|
|
|
|
declare let _useWorkers: boolean;
|
|
|
|
export { _useWorkers };
|
|
|
|
export interface WorkerToMainMsg {
|
2022-09-08 11:56:49 +00:00
|
|
|
_bcu: {
|
|
|
|
isPrime: boolean;
|
|
|
|
value: bigint;
|
|
|
|
id: number;
|
|
|
|
};
|
2021-08-06 15:13:51 +00:00
|
|
|
}
|
|
|
|
export interface MainToWorkerMsg {
|
2022-09-08 11:56:49 +00:00
|
|
|
_bcu: {
|
|
|
|
rnd: bigint;
|
|
|
|
iterations: number;
|
|
|
|
id: number;
|
|
|
|
};
|
2021-08-06 15:13:51 +00:00
|
|
|
}
|
|
|
|
//# sourceMappingURL=workerUtils.d.ts.map
|