(txt)
| 680 | this.#list.splice(this.#list.indexOf(this), 1); |
| 681 | } |
| 682 | updateTXT(txt) { |
| 683 | if (txt) |
| 684 | this.#service.txt = txt; |
| 685 | else |
| 686 | delete this.#service.txt; |
| 687 | dnssd.update(this.#service); |
| 688 | } |
| 689 | |
| 690 | static { |
| 691 | this.prototype[Symbol.dispose] = this.prototype.close; |