mol_plot_all 1.2.465 → 1.2.466
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 +11 -4
- package/node.deps.json +1 -1
- package/node.esm.js +20 -3
- package/node.esm.js.map +1 -1
- package/node.js +20 -3
- package/node.js.map +1 -1
- package/node.test.js +23 -3
- package/node.test.js.map +1 -1
- package/package.json +2 -1
- package/web.d.ts +11 -4
- package/web.deps.json +1 -1
- package/web.esm.js +20 -3
- package/web.esm.js.map +1 -1
- package/web.js +20 -3
- package/web.js.map +1 -1
- package/web.test.js +3 -0
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1282,6 +1282,12 @@ var $;
|
|
|
1282
1282
|
//mol/wire/method/method.ts
|
|
1283
1283
|
;
|
|
1284
1284
|
"use strict";
|
|
1285
|
+
//mol/type/tail/tail.ts
|
|
1286
|
+
;
|
|
1287
|
+
"use strict";
|
|
1288
|
+
//mol/type/foot/foot.ts
|
|
1289
|
+
;
|
|
1290
|
+
"use strict";
|
|
1285
1291
|
var $;
|
|
1286
1292
|
(function ($) {
|
|
1287
1293
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
@@ -1335,6 +1341,20 @@ var $;
|
|
|
1335
1341
|
once() {
|
|
1336
1342
|
return this.sync();
|
|
1337
1343
|
}
|
|
1344
|
+
channel() {
|
|
1345
|
+
return Object.assign((next) => {
|
|
1346
|
+
if (next !== undefined)
|
|
1347
|
+
return this.resync([...this.args, next]);
|
|
1348
|
+
if (!$mol_wire_fiber.warm)
|
|
1349
|
+
return this.result();
|
|
1350
|
+
if ($mol_wire_auto() instanceof $mol_wire_task) {
|
|
1351
|
+
return this.once();
|
|
1352
|
+
}
|
|
1353
|
+
else {
|
|
1354
|
+
return this.sync();
|
|
1355
|
+
}
|
|
1356
|
+
}, { atom: this });
|
|
1357
|
+
}
|
|
1338
1358
|
destructor() {
|
|
1339
1359
|
super.destructor();
|
|
1340
1360
|
const prev = this.cache;
|
|
@@ -1390,9 +1410,6 @@ var $;
|
|
|
1390
1410
|
//mol/wire/atom/atom.ts
|
|
1391
1411
|
;
|
|
1392
1412
|
"use strict";
|
|
1393
|
-
//mol/type/tail/tail.ts
|
|
1394
|
-
;
|
|
1395
|
-
"use strict";
|
|
1396
1413
|
var $;
|
|
1397
1414
|
(function ($) {
|
|
1398
1415
|
function $mol_wire_solo(host, field, descr) {
|