TaskStatus

public enum TaskStatus : Int, Codable, CaseIterable
extension TaskStatus: CustomStringConvertible

Predefined status values of Task objects.

  • Initial state of a new task.

    Declaration

    Swift

    case pending = 0
  • Task is in progress.

    Declaration

    Swift

    case inProgress = 1
  • Task is completed.

    Declaration

    Swift

    case done = 2
  • Task is blocked, e.g. because of a problem.

    Declaration

    Swift

    case blocked = 3
  • Task is cancelled.

    Declaration

    Swift

    case cancelled = 4
  • Task Request.

    Declaration

    Swift

    case request = 5
  • Task Request Cancelled.

    Declaration

    Swift

    case requestCancelled = 6
  • Undocumented

    Declaration

    Swift

    public init?(stringValue: String)
  • Declaration

    Swift

    public var description: String { get }