()
| 631 | } |
| 632 | |
| 633 | discard() { |
| 634 | for (const fn of this.#discard_callbacks) fn(this); |
| 635 | this.#discard_callbacks.clear(); |
| 636 | |
| 637 | for (const deferred of this.async_deriveds.values()) { |
| 638 | deferred.reject(OBSOLETE); |
| 639 | } |
| 640 | |
| 641 | this.#unlink(); |
| 642 | this.#deferred?.resolve(); |
| 643 | } |
| 644 | |
| 645 | /** |
| 646 | * @param {Effect} effect |