Skip to content

integrated/ProcessControlManager

Classes

ProcessControlManager

Defined in: integrated/ProcessControlManager.ts:26

Constructors

Constructor
new ProcessControlManager(
   logTab, 
   autoConnect, 
   autoDisconnect, 
   connectionState): ProcessControlManager;

Defined in: integrated/ProcessControlManager.ts:54

Parameters
logTab

ServerLogStreamManager

live server-log tab to surface after a (re)start

autoConnect

() => Promise\<boolean>

connects the WebATM proxy after a start/restart (resolves true once confirmed)

autoDisconnect

() => Promise\<void>

drops the proxy connection after a stop/kill

connectionState

ConnectionStateSource

live BlueSky connection status (same source the header reads), folded into the rendered status so the two indicators never contradict

Returns

ProcessControlManager

Interfaces

ConnectionStateSource

Defined in: integrated/ProcessControlManager.ts:21

Minimal view of ConnectionStatusService this manager needs: whether BlueSky is connected (the same data-flow truth the header uses) plus change notifications. Kept structural so it stays trivially mockable.

Methods

isBlueSkyConnected()
isBlueSkyConnected(): boolean;

Defined in: integrated/ProcessControlManager.ts:22

Returns

boolean

subscribe()
subscribe(listener): () => void;

Defined in: integrated/ProcessControlManager.ts:23

Parameters
listener

() => void

Returns

() => void