kotlin-stdlib
JS
kotlin-stdlib
/
kotlin.js
/
then
then
JS
inline
fun
<
T
,
S
>
Promise
<
Promise
<
T
>
>
.
then
(
noinline
onFulfilled
:
(
T
)
->
S
?
)
:
Promise
<
S
>
inline
fun
<
T
,
S
>
Promise
<
Promise
<
T
>
>
.
then
(
noinline
onFulfilled
:
(
T
)
->
S
?
,
noinline
onRejected
:
(
Throwable
)
->
S
?
)
:
Promise
<
S
>