Skip to content

Interface: HarnessRuntime ​

Defined in: ports/harness-runtime.ts:8

Lifecycle handle for an instantiated Paraharness runtime engine.

Manages background tracker polling, event stream subscriptions, crash recovery, and control-plane servers.

Methods ​

start() ​

ts
start(): Promise<void>;

Defined in: ports/harness-runtime.ts:16

Boots the runtime engine, recovers interrupted runs from the ledger, and starts trackers, streams, and control planes.

Reattaches root and child isolation scopes for non-terminal runs before enabling new intake polling.

Returns ​

Promise<void>

Resolves once the runtime is started.


stop() ​

ts
stop(): Promise<void>;

Defined in: ports/harness-runtime.ts:25

Gracefully stops all active trackers, stream subscriptions, control-plane listeners, and in-flight runs.

Drains active execution slots and releases bound transport handles deterministically.

Returns ​

Promise<void>

Resolves once all runtime resources have been released.

Properties ​

PropertyModifierTypeDescriptionDefined in
controllerreadonlyHarnessRuntimeControllerProgrammatic controller for emitting signals and inspecting active runs.ports/harness-runtime.ts:28

Released under the MIT License.