On which thread are the SPUUpdaterDelegate and SPUStandardUserDriverDelegate methods called? #2773
Unanswered
al-skobelev
asked this question in
Q&A
Replies: 1 comment
-
As long as you call Sparkle APIs on the main thread, it should be all main thread. Sparkle prefers to work on the main thread and that should be kept intact. The user driver particularly is very main thread driven. As an outlier example, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
The Sparkle documentation states that
SUUpdater
methods must be called in the main thread. But I can't find a similar statement about which thread/queue theSPUUpdaterDelegate
andSPUStandardUserDriverDelegate
methods are being called. At the moment, it seems that all of them are called in the main queue, but the question is, is this behavior guaranteed, will it be supported, and won't it be silently changed in future versions of Sparkle? Can I rely on this when implementing them?Beta Was this translation helpful? Give feedback.
All reactions