State

class State
Future.State.CANCELLED

The task was cancelled.

Future.State.FAILED

The task completed with an exception.

Future.State.RUNNING

The task has not completed.

Future.State.SUCCESS

The task completed with a result.

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.