Utility classes commonly useful in concurrent programming.
-
static enum
Preview.
Represents the state of a subtask.
StructuredTaskScope.Subtask.state()
Returns the subtask state.
Returns the enum constant of this class with the specified name.
StructuredTaskScope.Subtask.State.values()
Returns an array containing the constants of this enum class, in
the order they are declared.