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

Method ensureReady

ui/src/store/ladybugStore.ts:570–575  ·  view source on GitHub ↗

Start WASM init if not already started. Safe to call multiple times.

()

Source from the content-addressed store, hash-verified

568
569 /** Start WASM init if not already started. Safe to call multiple times. */
570 ensureReady(): Promise<void> {
571 if (!this.ready) {
572 this.ready = this.initModule();
573 }
574 return this.ready;
575 }
576
577 private async initModule(): Promise<void> {
578 const t0 = performance.now();

Callers 9

queryMethod · 0.95
execMethod · 0.95
execInternalMethod · 0.95
setLimitsMethod · 0.95
deleteRepoMethod · 0.95
importDatabaseMethod · 0.95
exportDatabaseMethod · 0.95
importVectorsMethod · 0.95
flushMethod · 0.95

Calls 1

initModuleMethod · 0.95

Tested by

no test coverage detected