zeed
Preparing search index...
promisify
Function promisify
promisify
<
T
>
(
value
:
T
|
Promise
<
T
>
)
:
Promise
<
T
>
This is exactly what Prose.resolve(x) is supposed to be: return a Promise no matter what type x is
Type Parameters
T
Parameters
value
:
T
|
Promise
<
T
>
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
This is exactly what Prose.resolve(x) is supposed to be: return a Promise no matter what type x is