Table of Contents

Property Loader

Namespace
Velvet
Assembly
Velvet.Docs.dll

Loader

Async data loader run when this route matches; its result is read via UseLoaderData. See LoaderMode.

public Func<RouteLoaderContext, CancellationToken, UniTask<object>>? Loader { get; init; }

Property Value

Func<RouteLoaderContext, CancellationToken, UniTask<object>>