Skip to content

Function: createExecutorRegistry() ​

ts
function createExecutorRegistry(...slices): RuntimeExecutorRegistry;

Defined in: ports/create-executor-registry.ts:15

Merges one or more RuntimeExecutorRegistrySlice objects (or nested arrays of slices) into a frozen RuntimeExecutorRegistry.

Initializes all 22 executor and driver lookup categories and copies each slice's registered node handlers in argument order so later slices override earlier slices when the same node.type key is provided.

Parameters ​

ParameterTypeDescription
...slicesreadonly ( | RuntimeExecutorRegistrySlice | readonly RuntimeExecutorRegistrySlice[])[]Adapter registry slices or arrays of slices to merge.

Returns ​

RuntimeExecutorRegistry

Deeply frozen composite RuntimeExecutorRegistry instance.

Released under the MIT License.