mobx-keystone-asyncstore
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -127,3 +127,8 @@ "use strict"; | ||
} | ||
}), { delay: throttle, fireImmediately: true }); | ||
}), { | ||
fireImmediately: true, | ||
scheduler: (run) => { | ||
return setTimeout(run, throttle); | ||
}, | ||
}); | ||
return () => { | ||
@@ -176,4 +181,4 @@ dispose(); | ||
} | ||
getAll() { | ||
if (!this.hasAll && !this.fetchQueue.includes("*")) { | ||
getAll(force = false) { | ||
if (force || (!this.hasAll && !this.fetchQueue.includes("*"))) { | ||
this.addToFetchQueue("*"); | ||
@@ -180,0 +185,0 @@ } |
{ | ||
"name": "mobx-keystone-asyncstore", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"author": "Marcus Ekwall <marcus.ekwall@gmail.com>", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"@types/jest": "^26.0.7", | ||
"@types/node": "^14.0.25", | ||
"@types/node": "^14.0.27", | ||
"@yarnpkg/pnpify": "^2.1.0", | ||
@@ -29,0 +29,0 @@ "jest": "^26.1.0", |
Sorry, the diff of this file is not supported yet
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
36471
565