Interface: ForkIsolatedModuleOptions
Defined in: src/batteries/isolation/child_process/transport.ts:147
The { modulePath, forkOptions? } variant of ForkIsolatedOptions — spawns via this module's own node:child_process.fork() call.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
forkOptions? | ForkOptions | Forwarded to child_process.fork(). Unless this sets serialization explicitly, this transport pins serialization: 'advanced' — see this module's top-level remarks. | src/batteries/isolation/child_process/transport.ts:154 |
modulePath | string | URL | Path to the guest's entry module — passed straight through to child_process.fork(). Must be a runnable module (already bundled/transpiled if it isn't plain CommonJS/ESM node can load directly — fork() cannot load a .ts file itself). | src/batteries/isolation/child_process/transport.ts:151 |
spawn? | undefined | Absent in this variant — mutually exclusive with modulePath/forkOptions. See ForkIsolatedResolverOptions for the BYO-spawner variant. | src/batteries/isolation/child_process/transport.ts:157 |