mol_plot_all 1.2.464 → 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.test.js CHANGED
@@ -1797,6 +1797,12 @@ var $;
1797
1797
  //mol/wire/method/method.ts
1798
1798
  ;
1799
1799
  "use strict";
1800
+ //mol/type/tail/tail.ts
1801
+ ;
1802
+ "use strict";
1803
+ //mol/type/foot/foot.ts
1804
+ ;
1805
+ "use strict";
1800
1806
  var $;
1801
1807
  (function ($) {
1802
1808
  class $mol_wire_atom extends $mol_wire_fiber {
@@ -1850,6 +1856,20 @@ var $;
1850
1856
  once() {
1851
1857
  return this.sync();
1852
1858
  }
1859
+ channel() {
1860
+ return Object.assign((next) => {
1861
+ if (next !== undefined)
1862
+ return this.resync([...this.args, next]);
1863
+ if (!$mol_wire_fiber.warm)
1864
+ return this.result();
1865
+ if ($mol_wire_auto() instanceof $mol_wire_task) {
1866
+ return this.once();
1867
+ }
1868
+ else {
1869
+ return this.sync();
1870
+ }
1871
+ }, { atom: this });
1872
+ }
1853
1873
  destructor() {
1854
1874
  super.destructor();
1855
1875
  const prev = this.cache;
@@ -1905,9 +1925,6 @@ var $;
1905
1925
  //mol/wire/atom/atom.ts
1906
1926
  ;
1907
1927
  "use strict";
1908
- //mol/type/tail/tail.ts
1909
- ;
1910
- "use strict";
1911
1928
  var $;
1912
1929
  (function ($) {
1913
1930
  function $mol_wire_solo(host, field, descr) {
@@ -7907,6 +7924,9 @@ var $;
7907
7924
  //mol/key/key.test.tsx
7908
7925
  ;
7909
7926
  "use strict";
7927
+ //mol/type/foot/foot.test.ts
7928
+ ;
7929
+ "use strict";
7910
7930
  var $;
7911
7931
  (function ($) {
7912
7932
  $mol_wire_log.active();