useAsyncValue Function

Beta  

Custom hook for working with possibly async values.

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

Parameter Type Description
value T | PromiseLike<T>  

Returns - undefined | T

Defined in

Last Updated: 11 June, 2024