template-saas/apps/backend/node_modules/bullmq/dist/esm/interfaces/sandboxed-options.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

27 lines
1.1 KiB
TypeScript

import { ForkOptions } from 'child_process';
import { WorkerOptions as WorkerThreadsOptions } from 'worker_threads';
export interface SandboxedOptions {
/**
* Use Worker Threads instead of Child Processes.
* Note: This option can only be used when specifying
* a file for the processor argument.
*
* @defaultValue false
*/
useWorkerThreads?: boolean;
/**
* Support passing Worker Fork Options.
* Note: This option can only be used when specifying
* a file for the processor argument and useWorkerThreads is passed as false (default value).
* @see {@link https://nodejs.org/api/child_process.html#child_processforkmodulepath-args-options}
*/
workerForkOptions?: ForkOptions;
/**
* Support passing Worker Threads Options.
* Note: This option can only be used when specifying
* a file for the processor argument and useWorkerThreads is passed as true.
* @see {@link https://nodejs.org/api/worker_threads.html#new-workerfilename-options}
*/
workerThreadsOptions?: WorkerThreadsOptions;
}