Skip to content
Permalink
Browse files

Update qgsfeedback.sip.in

(cherry picked from commit 85b31cf)
  • Loading branch information
DelazJ authored and nyalldawson committed Jan 20, 2020
1 parent d65524a commit 0eab288bb6fd6b81028e2394e293749f50f8b8ea
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/core/auto_generated/qgsfeedback.sip.in
@@ -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

0 comments on commit 0eab288

Please sign in to comment.
You can’t perform that action at this time.