MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / tryGetCurrent

Method tryGetCurrent

coding-agent/src/core/session.ts:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 tryGetCurrent(): Session | undefined {
135 return this.storage.getStore();
136 }
137
138 provide<T>(session: Session, fn: () => T): T {
139 return this.storage.run(session, fn);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected