Enumeration Case

URLSessionTask.State.canceling

The task has received a cancel message.

Declaration

case canceling = 2

Discussion

The delegate may or may not have received a urlSession(_:task:didCompleteWithError:) message yet. A task in this state is not subject to timeouts.

See Also

Task States

case running

The task is currently being serviced by the session.

case suspended

The task was suspended by the app.

case completed

The task has completed (without being canceled), and the task's delegate receives no further callbacks.