rd-core
2025.1.1
rd-core
/
com.jetbrains.rd.util.threading.coroutines
/
RdCoroutineScope
Rd
Coroutine
Scope
open
class
RdCoroutineScope
:
CoroutineScope
Content copied to clipboard
Types
Constructors
Functions
Properties
Constructors
Rd
Coroutine
Scope
Link copied to clipboard
fun
RdCoroutineScope
(
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
async
Link copied to clipboard
fun
<
T
>
async
(
lifetime
:
Lifetime
,
context
:
CoroutineContext
=
EmptyCoroutineContext
,
start
:
CoroutineStart
=
CoroutineStart.DEFAULT
,
action
:
suspend
CoroutineScope
.
(
)
->
T
)
:
Deferred
<
T
>
Content copied to clipboard
launch
Link copied to clipboard
fun
launch
(
lifetime
:
Lifetime
,
context
:
CoroutineContext
=
EmptyCoroutineContext
,
start
:
CoroutineStart
=
CoroutineStart.DEFAULT
,
action
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
Job
Content copied to clipboard
on
Exception
Link copied to clipboard
open
fun
onException
(
throwable
:
Throwable
)
Content copied to clipboard
Properties
cancelled
Scope
Link copied to clipboard
val
cancelledScope
:
CoroutineScope
Content copied to clipboard
coroutine
Context
Link copied to clipboard
override
val
coroutineContext
:
CoroutineContext
Content copied to clipboard