Table of Contents

Class QueryOptions<T>

Namespace
Velvet
Assembly
Velvet.Docs.dll

QueryOptions<TQueryFnData, TData> for a query whose result holds the data its query function returns.

public sealed record QueryOptions<T> : QueryOptions<T, T>

Type Parameters

T
Inheritance
object
QueryOptions<T>
Inherited Members

Constructors

QueryOptions(QueryKey, Func<CancellationToken, VelvetTask<T>>)

QueryOptions<TQueryFnData, TData> for a query whose result holds the data its query function returns.

QueryOptions(QueryKey, Func<VelvetTask<T>>)

Options whose query function takes no token: its request is not cancelled when the last query reading the entry leaves, and lands in the entry for the next reader to find.