Added in API level Baklava
State
class State
kotlin.Any | ||
↳ | kotlin.Enum<java.util.concurrent.Future.State> | |
↳ | java.util.concurrent.Future.State |
Represents the computation state.
Summary
Enum values | |
---|---|
The task was cancelled. |
|
The task completed with an exception. |
|
The task has not completed. |
|
The task completed with a result. |
Enum values
CANCELLED
Added in API level Baklava
enum val CANCELLED : Future.State
The task was cancelled.
See Also
FAILED
Added in API level Baklava
enum val FAILED : Future.State
The task completed with an exception.
SUCCESS
Added in API level Baklava
enum val SUCCESS : Future.State
The task completed with a result.