The task has completed (without being canceled), and the task's delegate receives no further callbacks.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
If the task completed successfully, the task’s
error property is
nil. Otherwise, it provides an error object that tells what went wrong. A task in this state is not subject to timeouts.