mol_plot_all 1.2.465 → 1.2.467

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.js CHANGED
@@ -1805,6 +1805,12 @@ var $;
1805
1805
  //mol/wire/method/method.ts
1806
1806
  ;
1807
1807
  "use strict";
1808
+ //mol/type/tail/tail.ts
1809
+ ;
1810
+ "use strict";
1811
+ //mol/type/foot/foot.ts
1812
+ ;
1813
+ "use strict";
1808
1814
  var $;
1809
1815
  (function ($) {
1810
1816
  class $mol_wire_atom extends $mol_wire_fiber {
@@ -1858,6 +1864,20 @@ var $;
1858
1864
  once() {
1859
1865
  return this.sync();
1860
1866
  }
1867
+ channel() {
1868
+ return Object.assign((next) => {
1869
+ if (next !== undefined)
1870
+ return this.resync([...this.args, next]);
1871
+ if (!$mol_wire_fiber.warm)
1872
+ return this.result();
1873
+ if ($mol_wire_auto() instanceof $mol_wire_task) {
1874
+ return this.once();
1875
+ }
1876
+ else {
1877
+ return this.sync();
1878
+ }
1879
+ }, { atom: this });
1880
+ }
1861
1881
  destructor() {
1862
1882
  super.destructor();
1863
1883
  const prev = this.cache;
@@ -1913,9 +1933,6 @@ var $;
1913
1933
  //mol/wire/atom/atom.ts
1914
1934
  ;
1915
1935
  "use strict";
1916
- //mol/type/tail/tail.ts
1917
- ;
1918
- "use strict";
1919
1936
  var $;
1920
1937
  (function ($) {
1921
1938
  function $mol_wire_solo(host, field, descr) {