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