kotlin-stdlib
JS
kotlin-stdlib
/
kotlin.js
/
Promise
/
Companion
Companion
JS
object
Companion
Functions
Functions
all
Link copied to clipboard
JS
fun
<
S
>
all
(
promise
:
Array
<
out
Promise
<
S
>
>
)
:
Promise
<
Array
<
out
S
>
>
race
Link copied to clipboard
JS
fun
<
S
>
race
(
promise
:
Array
<
out
Promise
<
S
>
>
)
:
Promise
<
S
>
reject
Link copied to clipboard
JS
fun
reject
(
e
:
Throwable
)
:
Promise
<
Nothing
>
resolve
Link copied to clipboard
JS
fun
<
S
>
resolve
(
e
:
S
)
:
Promise
<
S
>
fun
<
S
>
resolve
(
e
:
Promise
<
S
>
)
:
Promise
<
S
>