Skip to content

Interface: ControlPlaneHandle ​

Defined in: ports/control-plane-handle.ts:6

Active handle returned when a control-plane adapter starts listening for external commands or webhooks.

Exposes a deterministic close() method to shut down the control-plane server cleanly.

Methods ​

close() ​

ts
close(): Promise<void>;

Defined in: ports/control-plane-handle.ts:14

Stops the control-plane server and releases all bound network sockets or transport resources.

Invoked by HarnessRuntime.stop() during graceful runtime shutdown.

Returns ​

Promise<void>

Resolves when the control-plane listener has closed.

Released under the MIT License.