useAsyncValue Function

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: 20 June, 2023