useAsyncValue Function

Custom hook for working with possibly async values.

useAsyncValue<T>(value: T | PromiseLike<T>): T | undefined

Parameter Type Description
value T | PromiseLike<T>  

Returns - T | undefined

Defined in

Last Updated: 05 April, 2024