isCancelled
A Boolean value that indicates whether the current query is no longer running.
Declaration
var isCancelled: Bool { get }Discussion
The value of this property is true if you canceled it, and false if it’s still running or able to run.