Table of Contents

Method RefetchQueries

Namespace
Velvet
Assembly
Velvet.Docs.dll

RefetchQueries(QueryFilters?, RefetchOptions?)

Fetches again the entries filters selects that can be: those an enabled query reads, and, for an entry nothing reads, those that were fetched before and keep the options of that fetch. TanStack Query's refetchQueries.

public VelvetTask RefetchQueries(QueryFilters? filters = null, RefetchOptions? options = null)

Parameters

filters QueryFilters

The entries to fetch; null selects every entry.

options RefetchOptions

Whether the requests cancel those in flight, and whether the task faults with a failure.

Returns

VelvetTask

A task that completes once the requests have settled.