Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 928 Bytes

ResultOptions.md

File metadata and controls

23 lines (16 loc) · 928 Bytes
id ResultOptions
title ResultOptions

Defined in: packages/query-core/src/types.ts:866

Options shared by the QueryClient and observer methods that refetch queries, controlling whether a failed refetch makes the returned promise reject.

Extended by

Properties

Property Type Default value Description
throwOnError? boolean false If 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.