Skip to content
0

katanakit-js / InvalidateOptions

Interface: InvalidateOptions ​

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2196

Extends ​

Properties ​

PropertyTypeDefault valueDescriptionInherited fromDefined in
cancelRefetch?booleantrueIf set to true, a currently running request will be cancelled before a new request is made If set to false, no refetch will be made if there is already a request running.RefetchOptions.cancelRefetchnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2180
throwOnError?booleanfalseIf set to true, the method throws if any of the underlying query refetch tasks fail. If set to false, failed refetches are swallowed and not surfaced to the caller.RefetchOptions.throwOnErrornode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2170

Released under the MIT License.