mol_jsx_lib 0.0.38 → 0.0.41

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
@@ -1678,16 +1678,7 @@ var $;
1678
1678
  };
1679
1679
  }
1680
1680
  }
1681
- recall(...args) {
1682
- if (this.cursor > $mol_wire_cursor.fresh) {
1683
- try {
1684
- this.once();
1685
- }
1686
- catch (error) {
1687
- if (error instanceof Promise)
1688
- $mol_fail_hidden(error);
1689
- }
1690
- }
1681
+ resync(...args) {
1691
1682
  return this.put(this.task.call(this.host, ...args));
1692
1683
  }
1693
1684
  once() {
@@ -1736,7 +1727,7 @@ var $;
1736
1727
  }
1737
1728
  __decorate([
1738
1729
  $mol_wire_method
1739
- ], $mol_wire_atom.prototype, "recall", null);
1730
+ ], $mol_wire_atom.prototype, "resync", null);
1740
1731
  __decorate([
1741
1732
  $mol_wire_method
1742
1733
  ], $mol_wire_atom.prototype, "once", null);
@@ -1781,7 +1772,7 @@ var $;
1781
1772
  return atom.sync();
1782
1773
  }
1783
1774
  }
1784
- return atom.recall(...args);
1775
+ return atom.resync(...args);
1785
1776
  };
1786
1777
  Object.defineProperty(wrapper, 'name', { value: func.name + ' ' });
1787
1778
  Object.assign(wrapper, { orig: func });