Contents

state

The current state of the task—active, suspended, in the process of being canceled, or completed.

Declaration

var state: URLSessionTask.State { get }

See Also

Controlling the task state