MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / createExecutionEngine

Function createExecutionEngine

packages/core/execution/src/promise.ts:165–173  ·  view source on GitHub ↗
(
  config: ExecutionEngineConfig<E>,
)

Source from the content-addressed store, hash-verified

163});
164
165export const createExecutionEngine = <E extends Cause.YieldableError = CodeExecutionError>(
166 config: ExecutionEngineConfig<E>,
167): ExecutionEngine =>
168 toPromiseExecutionEngine(
169 createEffectExecutionEngine({
170 executor: wrapPromiseExecutor(config.executor),
171 codeExecutor: config.codeExecutor,
172 }),
173 );
174
175// ---------------------------------------------------------------------------
176// Re-exports — plain types/helpers that don't carry Effect signatures.

Callers

nothing calls this directly

Calls 2

toPromiseExecutionEngineFunction · 0.85
wrapPromiseExecutorFunction · 0.85

Tested by

no test coverage detected