mol_plot_all 1.2.250 → 1.2.253
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.esm.js +4 -2
- package/node.esm.js.map +1 -1
- package/node.js +4 -2
- package/node.js.map +1 -1
- package/node.test.js +119 -110
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +4 -2
- package/web.esm.js.map +1 -1
- package/web.js +4 -2
- package/web.js.map +1 -1
- package/web.test.js +115 -108
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1642,6 +1642,8 @@ var $;
|
|
|
1642
1642
|
var $;
|
|
1643
1643
|
(function ($) {
|
|
1644
1644
|
function $mol_wire_async(obj) {
|
|
1645
|
+
let fiber;
|
|
1646
|
+
const temp = $mol_wire_task.getter(obj);
|
|
1645
1647
|
return new Proxy(obj, {
|
|
1646
1648
|
get(obj, field) {
|
|
1647
1649
|
const val = obj[field];
|
|
@@ -1656,8 +1658,8 @@ var $;
|
|
|
1656
1658
|
};
|
|
1657
1659
|
},
|
|
1658
1660
|
apply(obj, self, args) {
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
+
fiber?.destructor();
|
|
1662
|
+
fiber = temp(self, args);
|
|
1661
1663
|
return fiber.async();
|
|
1662
1664
|
},
|
|
1663
1665
|
});
|