MCPcopy Create free account
hub / github.com/Marus/cortex-debug / oldestPoint

Method oldestPoint

src/grapher/datasource.ts:77–79  ·  view source on GitHub ↗
(graphId: string)

Source from the content-addressed store, hash-verified

75 }
76
77 public oldestPoint(graphId: string): GraphPoint {
78 return this.data[graphId] ? this.data[graphId][0] : null;
79 }
80
81 public subscribe(graphId: string, callback: (point: GraphPoint) => void) {
82 if (!this.subscriptions[graphId]) { this.subscriptions[graphId] = []; }

Callers 1

updateGraphMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected