MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / _clearCache

Method _clearCache

packages/context/src/binding.ts:437–441  ·  view source on GitHub ↗

* Clear the cache

()

Source from the content-addressed store, hash-verified

435 * Clear the cache
436 */
437 private _clearCache() {
438 if (!this._cache) return;
439 // WeakMap does not have a `clear` method
440 this._cache = new WeakMap();
441 }
442
443 /**
444 * Invalidate the binding cache so that its value will be reloaded next time.

Callers 2

inScopeMethod · 0.95
_setValueGetterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected