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