Property StaleTime
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
StaleTime
How long a result stays fresh after it lands. TanStack Query's default, zero, makes every result stale at once, so each component mounting over it fetches again in the background. System.TimeSpan.MaxValue keeps a result fresh until it is invalidated.
public TimeSpan StaleTime { get; init; }
Property Value
- TimeSpan