Rachel
Toggle table of contents
3.5.0
js
wasmJs
web
Target filter
js
wasmJs
web
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.core
/
love.yinlin.compatible
/
promise
promise
js
wasmJs
web
@
CompatibleRachelApi
actual
fun
<
T
>
CoroutineScope
.
promise
(
context
:
CoroutineContext
,
start
:
CoroutineStart
,
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
Promise
<
JsAny
?
>
@
CompatibleRachelApi
actual
fun
<
T
>
CoroutineScope
.
promise
(
context
:
CoroutineContext
,
start
:
CoroutineStart
,
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
Promise
<
JsAny
?
>
@
CompatibleRachelApi
expect
fun
<
T
>
CoroutineScope
.
promise
(
context
:
CoroutineContext
=
EmptyCoroutineContext
,
start
:
CoroutineStart
=
CoroutineStart.DEFAULT
,
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
Promise
<
JsAny
?
>