Skip to content

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 ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Properties ​

PropertyModifierTypeDescriptionDefined in
holdingSkillIdsreadonlySet<string>Set of currently active skill IDs holding a reference lease on this service session.runtime/services/active-service-entry.ts:20
scopeKeyreadonlystringCanonical scope key where the service is mounted.runtime/services/active-service-entry.ts:14
serviceNodereadonlyServiceASTNode<THandle>Passive service AST node that spawned session.runtime/services/active-service-entry.ts:16
sessionreadonlyServiceSession<THandle>Live background daemon session instance.runtime/services/active-service-entry.ts:18

Released under the MIT License.