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/node.js
CHANGED
|
@@ -2121,6 +2121,8 @@ var $;
|
|
|
2121
2121
|
var $;
|
|
2122
2122
|
(function ($) {
|
|
2123
2123
|
function $mol_wire_async(obj) {
|
|
2124
|
+
let fiber;
|
|
2125
|
+
const temp = $mol_wire_task.getter(obj);
|
|
2124
2126
|
return new Proxy(obj, {
|
|
2125
2127
|
get(obj, field) {
|
|
2126
2128
|
const val = obj[field];
|
|
@@ -2135,8 +2137,8 @@ var $;
|
|
|
2135
2137
|
};
|
|
2136
2138
|
},
|
|
2137
2139
|
apply(obj, self, args) {
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
+
fiber?.destructor();
|
|
2141
|
+
fiber = temp(self, args);
|
|
2140
2142
|
return fiber.async();
|
|
2141
2143
|
},
|
|
2142
2144
|
});
|