()
| 589 | // in progress. Once the user has explicitly requested a certain state, these |
| 590 | // methods become no-ops in order to not interfere with the user's intentions. |
| 591 | refCounted() { |
| 592 | if (++this.#refs === 1 && !this.#refExplicitlySet) { |
| 593 | this.#channel.ref(); |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | unrefCounted() { |
| 598 | if (--this.#refs === 0 && !this.#refExplicitlySet) { |
no test coverage detected