mol_jsx_lib 0.0.776 → 0.0.777
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 +13 -17
- package/node.js.map +1 -1
- package/node.mjs +13 -17
- package/node.test.js +13 -17
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +13 -17
- package/web.js.map +1 -1
- package/web.mjs +13 -17
package/web.mjs
CHANGED
|
@@ -1037,24 +1037,19 @@ var $;
|
|
|
1037
1037
|
return this.cache;
|
|
1038
1038
|
}
|
|
1039
1039
|
async async() {
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
await new Promise(() => { });
|
|
1053
|
-
}
|
|
1040
|
+
while (true) {
|
|
1041
|
+
this.fresh();
|
|
1042
|
+
if (this.cache instanceof Error) {
|
|
1043
|
+
$mol_fail_hidden(this.cache);
|
|
1044
|
+
}
|
|
1045
|
+
if (!$mol_promise_like(this.cache))
|
|
1046
|
+
return this.cache;
|
|
1047
|
+
await Promise.race([this.cache, this.step()]);
|
|
1048
|
+
if (!$mol_promise_like(this.cache))
|
|
1049
|
+
return this.cache;
|
|
1050
|
+
if (this.cursor === $mol_wire_cursor.final) {
|
|
1051
|
+
await new Promise(() => { });
|
|
1054
1052
|
}
|
|
1055
|
-
}
|
|
1056
|
-
catch (e) {
|
|
1057
|
-
throw new Error(e.stack, { cause: e });
|
|
1058
1053
|
}
|
|
1059
1054
|
}
|
|
1060
1055
|
step() {
|
|
@@ -1451,6 +1446,7 @@ var $;
|
|
|
1451
1446
|
if (!$mol_fail_catch(error))
|
|
1452
1447
|
return false;
|
|
1453
1448
|
console.error(error);
|
|
1449
|
+
console.error(error.stack);
|
|
1454
1450
|
return true;
|
|
1455
1451
|
}
|
|
1456
1452
|
$.$mol_fail_log = $mol_fail_log;
|