Table of Contents

Class RefetchOptions

Namespace
Velvet
Assembly
Velvet.Docs.dll

What RefetchQueries(QueryFilters?, RefetchOptions?), ResetQueries(QueryFilters?, RefetchOptions?) and the filter form of InvalidateQueries(QueryFilters?, RefetchOptions?) do with the requests they start: TanStack Query's refetchQueries options.

public sealed record RefetchOptions
Inheritance
object
RefetchOptions

Properties

CancelRefetch

True, the default, cancels a request in flight over data the entry holds and starts it over; false joins it.

ThrowOnError

True makes the returned task fault with the first failure of the requests it waited for, where the default completes whatever they did.