Skip to content

This site describes solve-engine 2.44.0, the version npm installs.

startWorkerRuntime

function startWorkerRuntime(transport, options?): () => void;

Defined in: packages/engine/src/worker/runtime.ts:111

Attach the runtime to a transport and start serving.

Returns a teardown function that clears the engine and detaches, for a host that reuses a transport or shuts a worker down cleanly.

ParameterType
transportWorkerTransport
options?WorkerRuntimeOptions

() => void