MCPcopy
hub / github.com/cpaczek/skylight / get

Method get

server/src/tle.ts:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 async get(): Promise<Tle[]> {
55 if (Date.now() - this.fetchedAt > this.ttlMs) await this.refresh();
56 return this.tles;
57 }
58
59 private async refresh(): Promise<void> {
60 try {

Callers 15

mainFunction · 0.95
findMethod · 0.45
findMethod · 0.45
constructorMethod · 0.45
observeMethod · 0.45
turnRateDpsMethod · 0.45
smoothGeoMethod · 0.45
getSatrecFunction · 0.45
starFunction · 0.45
mergeSourcesFunction · 0.45
enrichMethod · 0.45
onConnectMethod · 0.45

Calls 1

refreshMethod · 0.95

Tested by

no test coverage detected