MCPcopy Create free account
hub / github.com/chhoumann/quickadd / getInstance

Method getInstance

src/utils/FieldSuggestionCache.ts:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 private cleanupInterval: number | null = null;
15
16 static getInstance(): FieldSuggestionCache {
17 if (!FieldSuggestionCache.instance) {
18 FieldSuggestionCache.instance = new FieldSuggestionCache();
19 }
20 return FieldSuggestionCache.instance;
21 }
22
23 private constructor() {
24 // Automatic cleanup will be started by the plugin using startAutomaticCleanup()

Calls

no outgoing calls

Tested by

no test coverage detected