Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.promise
/
PromiseLike
/
then
then
abstract
fun
<
R
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
R
)
:
PromiseLike
<
R
>
(
source
)
abstract
fun
<
R
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
R
,
onRejected
:
(
JsErrorLike
?
)
->
R
)
:
PromiseLike
<
R
>
(
source
)