state
The current state of the task—active, suspended, in the process of being canceled, or completed.
Declaration
var state: URLSessionTask.State { get }The current state of the task—active, suspended, in the process of being canceled, or completed.
var state: URLSessionTask.State { get }