()
| 38 | } |
| 39 | |
| 40 | protected onUnsubscribe() { |
| 41 | if (!this.hasListeners()) { |
| 42 | this.#cleanup?.() |
| 43 | this.#cleanup = undefined |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | setEventListener(setup: SetupFn): void { |
| 48 | this.#setup = setup |
nothing calls this directly
no test coverage detected