MCPcopy Create free account
hub / github.com/Treeki/BirdBridge / constructor

Method constructor

utils/userCache.ts:48–51  ·  view source on GitHub ↗
(oauth: OAuth)

Source from the content-addressed store, hash-verified

46 map: Map<string, UserCacheEntry>;
47
48 constructor(oauth: OAuth) {
49 this.oauth = oauth;
50 this.map = new Map();
51 }
52
53 fetchUser(id: string): Promise<Record<string, any>> {
54 let entry = this.map.get(id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected