AIDK API Reference / aidk/jsx / CreateForkOptions
Interface: CreateForkOptions ​
Defined in: packages/core/src/jsx/components/fork-spawn-helpers.ts:20
Options for creating a fork handle
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
engineConfig? | Partial<EngineConfig> | Engine configuration for child engine | packages/core/src/jsx/components/fork-spawn-helpers.ts:44 |
inherit? | ForkInheritanceOptions | Inheritance options | packages/core/src/jsx/components/fork-spawn-helpers.ts:39 |
input? | EngineInput | Input for the fork execution | packages/core/src/jsx/components/fork-spawn-helpers.ts:29 |
onComplete? | (result: any) => void | Promise<void> | Completion handler | packages/core/src/jsx/components/fork-spawn-helpers.ts:49 |
onError? | (error: Error) => void | Promise<void> | Error handler | packages/core/src/jsx/components/fork-spawn-helpers.ts:54 |
parentPid? | string | Parent PID (defaults to current execution PID from context) | packages/core/src/jsx/components/fork-spawn-helpers.ts:34 |
root? | | ComponentDefinition | Element[] | Root definition - either a ComponentDefinition or JSX children | packages/core/src/jsx/components/fork-spawn-helpers.ts:24 |