toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.coroutines
/
promise
promise
fun
<
T
>
CoroutineScope
.
promise
(
context
:
CoroutineContext
=
EmptyCoroutineContext
,
start
:
CoroutineStart
=
CoroutineStart.DEFAULT
,
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
DisposablePromise
<
T
>
(
source
)