Skip to content

Commit

Permalink
Update qgsfeedback.sip.in
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Jan 21, 2020
1 parent 5c4bc34 commit 85b31cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/qgsfeedback.sip.in
Expand Up @@ -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
Expand Down

0 comments on commit 85b31cf

Please sign in to comment.