rd-framework
2024.3.0
rd-framework
/
com.jetbrains.rd.framework
/
IRdTask
IRd
Task
interface
IRdTask
<
out
T
>
Content copied to clipboard
Represents a task that can be asynchronously executed.
Properties
Extensions
Inheritors
Properties
result
Link copied to clipboard
abstract
val
result
:
IOptPropertyView
<
RdTaskResult
<
T
>
>
Content copied to clipboard
Inheritors
RdTask
Link copied to clipboard
Extensions
as
Completable
Future
Link copied to clipboard
fun
<
T
>
IRdTask
<
T
>
.
asCompletableFuture
(
)
:
CompletableFuture
<
T
>
Content copied to clipboard
await
Link copied to clipboard
suspend
fun
<
T
>
IRdTask
<
T
>
.
await
(
)
:
T
Content copied to clipboard
is
Canceled
Link copied to clipboard
val
<
T
>
IRdTask
<
T
>
.
isCanceled
:
Boolean
Content copied to clipboard
is
Faulted
Link copied to clipboard
val
<
T
>
IRdTask
<
T
>
.
isFaulted
:
Boolean
Content copied to clipboard
is
Succeeded
Link copied to clipboard
val
<
T
>
IRdTask
<
T
>
.
isSucceeded
:
Boolean
Content copied to clipboard
wait
Link copied to clipboard
inline
fun
<
T
>
IRdTask
<
T
>
.
wait
(
timeoutMs
:
Long
,
pump
:
(
)
->
Unit
)
:
Boolean
Content copied to clipboard