MCPcopy
hub / github.com/opentrace/opentrace / ensureReady

Method ensureReady

ui/src/store/types.ts:103–103  ·  view source on GitHub ↗

Start DB init if not already started. No-op if already ready.

()

Source from the content-addressed store, hash-verified

101 hasData(): boolean;
102 /** Start DB init if not already started. No-op if already ready. */
103 ensureReady?(): Promise<void>;
104 fetchGraph(query?: string, hops?: number): Promise<GraphData>;
105 fetchStats(): Promise<GraphStats>;
106 fetchMetadata(): Promise<IndexMetadata[]>;

Callers 3

dispatchFunction · 0.65
runMethod · 0.65
useGraphDataFunction · 0.65

Implementers 4

LadybugGraphStoreui/src/store/ladybugStore.ts
WorkerGraphStoreui/src/store/workerStore.ts
ServerGraphStoreui/src/store/serverStore.ts
InMemoryGraphStoreui/src/store/inMemoryStore.ts

Calls

no outgoing calls

Tested by

no test coverage detected