* Clears the query's garbage collection timeout and silently cancels any * in-flight fetch. Called by `QueryCache` when the query is removed from * the cache. * * @see Query#cancel
()
| 359 | * @see {@link Query#cancel} |
| 360 | */ |
| 361 | destroy(): void { |
| 362 | super.destroy() |
| 363 | |
| 364 | this.cancel({ silent: true }) |
| 365 | } |
| 366 | |
| 367 | /** @internal */ |
| 368 | get resetState(): QueryState<TData, TError> { |
no test coverage detected