If the value passed to getPromiseState
was a promise or function,
this will be the value thrown / caught from the promise or function.
If the value passed to getPromiseState
was a promise or function that returns a promise,
this will initially be true, and become false when the promise resolves or errors.
The final value.
This will be undefined initially if the value passed in to getPromiseState
is a promise or function that returns a promise.
The state of a Value or Promise that was passed to
getPromiseState