Interface: ActiveServiceEntry<THandle>
Defined in: runtime/services/active-service-entry.ts:12
Reference-counted runtime entry tracking a live ServiceSession mounted within an isolation scope (SPEC.md §3.4.2).
Shares a single background daemon across multiple concurrently active skills that unlock the same serviceNode.id, stopping the daemon only when holdingSkillIds becomes empty or the scope quiesces.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
holdingSkillIds | readonly | Set<string> | Set of currently active skill IDs holding a reference lease on this service session. | runtime/services/active-service-entry.ts:20 |
scopeKey | readonly | string | Canonical scope key where the service is mounted. | runtime/services/active-service-entry.ts:14 |
serviceNode | readonly | ServiceASTNode<THandle> | Passive service AST node that spawned session. | runtime/services/active-service-entry.ts:16 |
session | readonly | ServiceSession<THandle> | Live background daemon session instance. | runtime/services/active-service-entry.ts:18 |