Preparing search index...
The search index is not available
react-declarative
react-declarative
types
react-declarative
promiseState
Function promiseState
Determines the state of a given promise.
promiseState
<
T
=
any
>
(
promise
:
T
|
Promise
<
T
>
)
:
"sync"
|
"async"
Type Parameters
T
=
any
Parameters
promise
:
T
|
Promise
<
T
>
The promise to check the state of.
Returns
"sync"
|
"async"
The state of the promise, which can be either 'sync' or 'async'.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
react-declarative
Loading...
Determines the state of a given promise.