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