MCPcopy Create free account
hub / github.com/apache/maka / isCurrentGeneration

Method isCurrentGeneration

packages/runtime/src/runtime-kernel.ts:3060–3064  ·  view source on GitHub ↗
(active: BackendGeneration)

Source from the content-addressed store, hash-verified

3058 }
3059
3060 private isCurrentGeneration(active: BackendGeneration): boolean {
3061 return active.route.kind === 'parent'
3062 ? this.active.get(active.sessionId) === active
3063 : this.childActive.get(active.route.activeKey) === active;
3064 }
3065
3066 private unregisterRun(active: AgentRunActiveSession, run: AgentRun): void {
3067 active.activeRuns.delete(run.runId);

Callers 2

reserveGenerationRunMethod · 0.95
assertRunCanDispatchMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected