mol_jsx_lib 0.0.776 → 0.0.778
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 +12 -17
- package/node.js.map +1 -1
- package/node.mjs +12 -17
- package/node.test.js +12 -17
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +12 -17
- package/web.js.map +1 -1
- package/web.mjs +12 -17
package/node.mjs
CHANGED
|
@@ -1676,24 +1676,19 @@ var $;
|
|
|
1676
1676
|
return this.cache;
|
|
1677
1677
|
}
|
|
1678
1678
|
async async() {
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
await new Promise(() => { });
|
|
1692
|
-
}
|
|
1679
|
+
while (true) {
|
|
1680
|
+
this.fresh();
|
|
1681
|
+
if (this.cache instanceof Error) {
|
|
1682
|
+
$mol_fail_hidden(this.cache);
|
|
1683
|
+
}
|
|
1684
|
+
if (!$mol_promise_like(this.cache))
|
|
1685
|
+
return this.cache;
|
|
1686
|
+
await Promise.race([this.cache, this.step()]);
|
|
1687
|
+
if (!$mol_promise_like(this.cache))
|
|
1688
|
+
return this.cache;
|
|
1689
|
+
if (this.cursor === $mol_wire_cursor.final) {
|
|
1690
|
+
await new Promise(() => { });
|
|
1693
1691
|
}
|
|
1694
|
-
}
|
|
1695
|
-
catch (e) {
|
|
1696
|
-
throw new Error(e.stack, { cause: e });
|
|
1697
1692
|
}
|
|
1698
1693
|
}
|
|
1699
1694
|
step() {
|
package/node.test.js
CHANGED
|
@@ -1667,25 +1667,20 @@ var $;
|
|
|
1667
1667
|
return this.cache;
|
|
1668
1668
|
}
|
|
1669
1669
|
async async() {
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
await new Promise(() => { });
|
|
1683
|
-
}
|
|
1670
|
+
while (true) {
|
|
1671
|
+
this.fresh();
|
|
1672
|
+
if (this.cache instanceof Error) {
|
|
1673
|
+
$mol_fail_hidden(this.cache);
|
|
1674
|
+
}
|
|
1675
|
+
if (!$mol_promise_like(this.cache))
|
|
1676
|
+
return this.cache;
|
|
1677
|
+
await Promise.race([this.cache, this.step()]);
|
|
1678
|
+
if (!$mol_promise_like(this.cache))
|
|
1679
|
+
return this.cache;
|
|
1680
|
+
if (this.cursor === $mol_wire_cursor.final) {
|
|
1681
|
+
await new Promise(() => { });
|
|
1684
1682
|
}
|
|
1685
1683
|
}
|
|
1686
|
-
catch (e) {
|
|
1687
|
-
throw new Error(e.stack, { cause: e });
|
|
1688
|
-
}
|
|
1689
1684
|
}
|
|
1690
1685
|
step() {
|
|
1691
1686
|
return new Promise(done => {
|