Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-js
/
js.promise
/
Promise
/
flatThen
flat
Then
override
fun
<
R
:
JsAny
?
>
flatThen
(
onFulfilled
:
(
T
)
->
PromiseResult
<
R
>
)
:
Promise
<
R
>
(
source
)
override
fun
<
R
:
JsAny
?
>
flatThen
(
onFulfilled
:
(
T
)
->
PromiseResult
<
R
>
,
onRejected
:
(
JsErrorLike
?
)
->
PromiseResult
<
R
>
)
:
Promise
<
R
>
(
source
)