Skip to content

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 ​

PropertyTypeDescriptionDefined in
engineConfig?Partial<EngineConfig>Engine configuration for child enginepackages/core/src/jsx/components/fork-spawn-helpers.ts:44
inherit?ForkInheritanceOptionsInheritance optionspackages/core/src/jsx/components/fork-spawn-helpers.ts:39
input?EngineInputInput for the fork executionpackages/core/src/jsx/components/fork-spawn-helpers.ts:29
onComplete?(result: any) => void | Promise<void>Completion handlerpackages/core/src/jsx/components/fork-spawn-helpers.ts:49
onError?(error: Error) => void | Promise<void>Error handlerpackages/core/src/jsx/components/fork-spawn-helpers.ts:54
parentPid?stringParent 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 childrenpackages/core/src/jsx/components/fork-spawn-helpers.ts:24

Released under the MIT License.