maxAge property

Duration? maxAge
final

Stale-while-revalidate window. When set, a run whose data was last fetched from the server longer ago than this (or never: hydrated snapshots, optimistic writes) keeps rendering the cached values and refetches the whole selection in the background; isStale is true meanwhile. null (the default, from SlingClient.maxAge) means cached data never expires: only refetch gets fresh data.

Freshness is per dependency key (Launch:launch-181.name): a field is fresh if some response wrote it within the window, whichever screen asked for it.

Implementation

final Duration? maxAge;