execute-once
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "execute-once", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Execute a high order function just once, successive calls will eventually return the previous result.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,4 +31,4 @@ execute-once | ||
let result2 = sumOnce.execute(() => sum(2,3)) | ||
console.log(result) // result is still 3 so for each new function you need to instantiate the executeOnce again | ||
console.log(result2) // result is still 3 so for each new function you need to instantiate the executeOnce again | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4368