mol_plot_all 1.2.238 → 1.2.239
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 +2 -1
- package/node.deps.json +1 -1
- package/node.esm.js +24 -11
- package/node.esm.js.map +1 -1
- package/node.js +24 -11
- package/node.js.map +1 -1
- package/node.test.js +64 -11
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -1
- package/web.deps.json +1 -1
- package/web.esm.js +24 -11
- package/web.esm.js.map +1 -1
- package/web.js +24 -11
- package/web.js.map +1 -1
- package/web.test.js +40 -0
- package/web.test.js.map +1 -1
package/node.js
CHANGED
|
@@ -1738,17 +1738,27 @@ var $;
|
|
|
1738
1738
|
};
|
|
1739
1739
|
}
|
|
1740
1740
|
}
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
}
|
|
1746
|
-
catch (error) {
|
|
1747
|
-
if (error instanceof Promise)
|
|
1748
|
-
$mol_fail_hidden(error);
|
|
1749
|
-
}
|
|
1741
|
+
resync(...args) {
|
|
1742
|
+
let res;
|
|
1743
|
+
try {
|
|
1744
|
+
res = this.recall(...args);
|
|
1750
1745
|
}
|
|
1751
|
-
|
|
1746
|
+
catch (error) {
|
|
1747
|
+
if (error instanceof Promise)
|
|
1748
|
+
$mol_fail_hidden(error);
|
|
1749
|
+
res = error;
|
|
1750
|
+
}
|
|
1751
|
+
try {
|
|
1752
|
+
this.once();
|
|
1753
|
+
}
|
|
1754
|
+
catch (error) {
|
|
1755
|
+
if (error instanceof Promise)
|
|
1756
|
+
$mol_fail_hidden(error);
|
|
1757
|
+
}
|
|
1758
|
+
return this.put(res);
|
|
1759
|
+
}
|
|
1760
|
+
recall(...args) {
|
|
1761
|
+
return this.task.call(this.host, ...args);
|
|
1752
1762
|
}
|
|
1753
1763
|
once() {
|
|
1754
1764
|
return this.sync();
|
|
@@ -1794,6 +1804,9 @@ var $;
|
|
|
1794
1804
|
return next;
|
|
1795
1805
|
}
|
|
1796
1806
|
}
|
|
1807
|
+
__decorate([
|
|
1808
|
+
$mol_wire_method
|
|
1809
|
+
], $mol_wire_atom.prototype, "resync", null);
|
|
1797
1810
|
__decorate([
|
|
1798
1811
|
$mol_wire_method
|
|
1799
1812
|
], $mol_wire_atom.prototype, "recall", null);
|
|
@@ -1841,7 +1854,7 @@ var $;
|
|
|
1841
1854
|
return atom.sync();
|
|
1842
1855
|
}
|
|
1843
1856
|
}
|
|
1844
|
-
return atom.
|
|
1857
|
+
return atom.resync(...args);
|
|
1845
1858
|
};
|
|
1846
1859
|
Object.defineProperty(wrapper, 'name', { value: func.name + ' ' });
|
|
1847
1860
|
Object.assign(wrapper, { orig: func });
|