Skip to content
Permalink
Browse files

Update qgsfeedback.sip.in

  • Loading branch information
DelazJ authored and nyalldawson committed Jan 20, 2020
1 parent 5c4bc34 commit 85b31cff1ad3613cea444b5035442cce26bdcdd6
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 85b31cf

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