Table of Contents

Method UseAsyncValue

Namespace
Velvet
Assembly
Velvet.Docs.dll

UseAsyncValue<T>()

Returns the value the nearest V.Await above the caller resolved, cast to T: React Router's useAsyncValue. Returns default outside one, and beneath one that is rendering its errorElement.

public static T? UseAsyncValue<T>()

Returns

T

Type Parameters

T

Expected value type.