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