kilua-project
Toggle table of contents
0.0.19
common
js
wasmJs
Platform filter
common
js
wasmJs
Switch theme
Search in API
kilua-project
kilua-dom
/
web
/
Promise
/
then
then
common
js
wasmJs
expect
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
)
:
Promise
<
S
>
(
source
)
expect
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
,
onRejected
:
(
JsAny
)
->
S
?
)
:
Promise
<
S
>
(
source
)
actual
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
)
:
Promise
<
S
>
(
source
)
actual
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
,
onRejected
:
(
JsAny
)
->
S
?
)
:
Promise
<
S
>
(
source
)
actual
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
)
:
Promise
<
S
>
(
source
)
actual
fun
<
S
:
JsAny
?
>
then
(
onFulfilled
:
(
T
)
->
S
?
,
onRejected
:
(
JsAny
)
->
S
?
)
:
Promise
<
S
>
(
source
)