()
| 92 | } |
| 93 | |
| 94 | unmount() { |
| 95 | if (this.#state === 'unmounted') { |
| 96 | throw new Error('Devtools is not mounted') |
| 97 | } |
| 98 | this.#mountAbortController?.abort() |
| 99 | this.#eventBus?.stop() |
| 100 | this.#dispose?.() |
| 101 | this.#state = 'unmounted' |
| 102 | } |
| 103 | |
| 104 | setConfig(config: Partial<TanStackDevtoolsInit>) { |
| 105 | this.#config = { |
no test coverage detected