Invoked when the task is completed.
- macOS 10.7+
The completion block is invoked when the task has completed. The task object is passed to the block to allow access to the task parameters, for example to determine if the task completed successfully.
This block is not guaranteed to be fully executed prior to