MCPcopy Create free account
hub / github.com/tiann/hapi / start

Function start

cli/src/modules/common/session/BaseSessionScanner.ts:105–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }
104
105 public async start(): Promise<void> {
106 await this.initialize();
107 await this.sync.invalidateAndAwait();
108 this.intervalId = setInterval(() => this.sync.invalidate(), this.options.intervalMs);
109 }
110
111 public async cleanup(): Promise<void> {
112 this.stopped = true;

Callers

nothing calls this directly

Calls 3

invalidateAndAwaitMethod · 0.80
invalidateMethod · 0.80
initializeMethod · 0.65

Tested by

no test coverage detected