sandbox.d.ts 259 B

1234
  1. import { ChildPool } from './child-pool';
  2. import { Job } from './job';
  3. declare const sandbox: <T, R, N extends string>(processFile: any, childPool: ChildPool) => (job: Job<T, R, N>, token?: string, signal?: AbortSignal) => Promise<R>;
  4. export default sandbox;