toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.promise
/
PromiseLike
/
then
then
abstract
fun
<
R
>
then
(
onFulfilled
:
(
T
)
->
R
)
:
PromiseLike
<
R
>
(
source
)
abstract
fun
<
R
>
then
(
onFulfilled
:
(
T
)
->
R
,
onRejected
:
(
JsError
)
->
R
)
:
PromiseLike
<
R
>
(
source
)