MCPcopy Create free account
hub / github.com/loopbackio/loopback-next / clear

Method clear

examples/greeting-app/src/caching-service.ts:75–77  ·  view source on GitHub ↗

* Clear the cache

()

Source from the content-addressed store, hash-verified

73 * Clear the cache
74 */
75 async clear() {
76 this.store.clear();
77 }
78
79 /**
80 * Check if the cached item is expired by key

Callers 7

startMethod · 0.95
stopMethod · 0.95
clearCacheFunction · 0.45
stopMethod · 0.45
resetMethod · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by 2

clearCacheFunction · 0.36
resetMethod · 0.36