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