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/browser/index.mjs
CHANGED
|
@@ -422,8 +422,8 @@ var Caching = class {
|
|
|
422
422
|
/**
|
|
423
423
|
* Clears every cache and stops its expiry timer.
|
|
424
424
|
*
|
|
425
|
-
*
|
|
426
|
-
*
|
|
425
|
+
* Expiry timers are unref'd in Node, so idle processes can exit without this cleanup.
|
|
426
|
+
* Use {@link shutdown} to also stop requests and the shared Ticker.
|
|
427
427
|
*/
|
|
428
428
|
static end() {
|
|
429
429
|
for (const cache of this.all) {
|
|
@@ -671,13 +671,14 @@ var _Requests = class _Requests {
|
|
|
671
671
|
}
|
|
672
672
|
static get queueSizes() {
|
|
673
673
|
return {
|
|
674
|
-
generic: this.genericQueue.size,
|
|
675
|
-
mcAsset: this.mcAssetRequestQueue.size
|
|
674
|
+
generic: this.genericQueue.size + this.genericQueue.activeSize,
|
|
675
|
+
mcAsset: this.mcAssetRequestQueue.size + this.mcAssetRequestQueue.activeSize
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
|
-
*
|
|
680
|
-
*
|
|
679
|
+
* Permanently stops both queues and rejects waiting and future requests.
|
|
680
|
+
* Requests already running can finish. Idle queues hold no timer, so Node can exit without
|
|
681
|
+
* this cleanup. See {@link shutdown}.
|
|
681
682
|
*/
|
|
682
683
|
static end() {
|
|
683
684
|
this.genericQueue.end();
|