mol_jsx_lib 0.0.772 → 0.0.774
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.deps.json +1 -1
- package/node.js +18 -12
- package/node.js.map +1 -1
- package/node.mjs +18 -12
- package/node.test.js +18 -12
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +18 -12
- package/web.js.map +1 -1
- package/web.mjs +18 -12
package/web.mjs
CHANGED
|
@@ -1037,20 +1037,26 @@ var $;
|
|
|
1037
1037
|
return this.cache;
|
|
1038
1038
|
}
|
|
1039
1039
|
async async() {
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1040
|
+
try {
|
|
1041
|
+
while (true) {
|
|
1042
|
+
this.fresh();
|
|
1043
|
+
if (this.cache instanceof Error) {
|
|
1044
|
+
$mol_fail_hidden(this.cache);
|
|
1045
|
+
}
|
|
1046
|
+
if (!$mol_promise_like(this.cache))
|
|
1047
|
+
return this.cache;
|
|
1048
|
+
await Promise.race([this.cache, this.step()]);
|
|
1049
|
+
if (!$mol_promise_like(this.cache))
|
|
1050
|
+
return this.cache;
|
|
1051
|
+
if (this.cursor === $mol_wire_cursor.final) {
|
|
1052
|
+
await new Promise(() => { });
|
|
1053
|
+
}
|
|
1052
1054
|
}
|
|
1053
1055
|
}
|
|
1056
|
+
catch (e) {
|
|
1057
|
+
console.log(e.stack);
|
|
1058
|
+
throw e;
|
|
1059
|
+
}
|
|
1054
1060
|
}
|
|
1055
1061
|
step() {
|
|
1056
1062
|
return new Promise(done => {
|