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

enum val CANCELLED : Future.State

The task was cancelled.

See Also

FAILED

enum val FAILED : Future.State

The task completed with an exception.

RUNNING

enum val RUNNING : Future.State

The task has not completed.

SUCCESS

enum val SUCCESS : Future.State

The task completed with a result.