How to use the p-memoize.clear function in p-memoize

To help you get started, we’ve selected a few p-memoize examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github simpleviewinc / mongolayer / src / index.js View on Github external
var _clearConnectCache = function() {
	pMemoize.clear(_getClientCached);
}

p-memoize

Memoize promise-returning & async functions

MIT
Latest version published 2 years ago

Package Health Score

77 / 100
Full package analysis

Popular p-memoize functions