Utility classes commonly useful in concurrent programming.
-
static final class
Preview.
A
StructuredTaskScope
that captures the exception of the first subtask to
failPREVIEW.
static final class
Preview.
A
StructuredTaskScope
that captures the result of the first subtask to
complete
successfullyPREVIEW.
StructuredTaskScope.join()
Wait for all subtasks started in this task scope to finish or the task scope to
shut down.
Wait for all subtasks started in this task scope to finish or the task scope to
shut down, up to the given deadline.