mol_plot_all 1.2.1207 → 1.2.1209
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/node.d.ts +4 -1
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +7 -1
- package/node.js.map +1 -1
- package/node.mjs +7 -1
- package/node.test.js +7 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +4 -1
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +7 -1
- package/web.js.map +1 -1
- package/web.mjs +7 -1
package/web.js
CHANGED
|
@@ -829,7 +829,7 @@ var $;
|
|
|
829
829
|
}
|
|
830
830
|
return this.cache;
|
|
831
831
|
}
|
|
832
|
-
async
|
|
832
|
+
async async_raw() {
|
|
833
833
|
while (true) {
|
|
834
834
|
this.fresh();
|
|
835
835
|
if (this.cache instanceof Error) {
|
|
@@ -845,6 +845,12 @@ var $;
|
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
+
async() {
|
|
849
|
+
const promise = this.async_raw();
|
|
850
|
+
if (!promise.destructor)
|
|
851
|
+
promise.destructor = () => this.destructor();
|
|
852
|
+
return promise;
|
|
853
|
+
}
|
|
848
854
|
step() {
|
|
849
855
|
return new Promise(done => {
|
|
850
856
|
const sub = new $mol_wire_pub_sub;
|