Please sign in to comment.
- Loading branch information
Showing with 1 addition and 0 deletions.
|@@ -17,6 +17,7 @@ The class may be used as is or it may be subclassed for extended functionality|
|for a particular operation (e.g. report progress or pass some data for preview).|
|When cancel() is called, the internal code has two options to check for cancellation state:|
|- if the worker thread uses an event loop (e.g. for network communication), the code can|
|make a queued connection to canceled() signal and handle the cancellation in its slot.|
|- if the worker thread does not use an event loop, it can poll isCanceled() method regularly|