minerender 2.1.0-alpha.6 → 2.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.mts +10 -10
- package/dist/browser/index.d.ts +10 -10
- package/dist/browser/index.js +7 -6
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +7 -6
- package/dist/browser/index.mjs.map +1 -1
- package/dist/bundle.js +1254 -1040
- package/dist/bundle.js.map +1 -1
- package/dist/node/index.d.mts +10 -10
- package/dist/node/index.d.ts +10 -10
- package/dist/node/index.js +7 -6
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +7 -6
- package/dist/node/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/node/index.mjs
CHANGED
|
@@ -385,8 +385,8 @@ var Caching = class {
|
|
|
385
385
|
/**
|
|
386
386
|
* Clears every cache and stops its expiry timer.
|
|
387
387
|
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
388
|
+
* Expiry timers are unref'd in Node, so idle processes can exit without this cleanup.
|
|
389
|
+
* Use {@link shutdown} to also stop requests and the shared Ticker.
|
|
390
390
|
*/
|
|
391
391
|
static end() {
|
|
392
392
|
for (const cache of this.all) {
|
|
@@ -634,13 +634,14 @@ var _Requests = class _Requests {
|
|
|
634
634
|
}
|
|
635
635
|
static get queueSizes() {
|
|
636
636
|
return {
|
|
637
|
-
generic: this.genericQueue.size,
|
|
638
|
-
mcAsset: this.mcAssetRequestQueue.size
|
|
637
|
+
generic: this.genericQueue.size + this.genericQueue.activeSize,
|
|
638
|
+
mcAsset: this.mcAssetRequestQueue.size + this.mcAssetRequestQueue.activeSize
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
641
|
/**
|
|
642
|
-
*
|
|
643
|
-
*
|
|
642
|
+
* Permanently stops both queues and rejects waiting and future requests.
|
|
643
|
+
* Requests already running can finish. Idle queues hold no timer, so Node can exit without
|
|
644
|
+
* this cleanup. See {@link shutdown}.
|
|
644
645
|
*/
|
|
645
646
|
static end() {
|
|
646
647
|
this.genericQueue.end();
|