-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guarantee to update refresh control on main thread #1942
Guarantee to update refresh control on main thread #1942
Conversation
Thanks for the PR! However I'm not sure we want to make this change. IIRC, signals associated with commands are required to deliver events on the main thread. That means the signal returned from the generator block should be getting the |
Oh! I didn't know that the signal returned from the generator block is required to deliver on main thread, thanks! |
Isn't that line of code used to deliver
|
Ah yes, it's the execution signals, not their values, that are being delivered on main. My mistake. One option is to apply |
Yeah, my PR is to apply |
I'm 👍 on this change. Can you please put |
Just did, glad I could help. 😁 |
Great, thank you! ✨ |
Guarantee to update refresh control on main thread
Guarantee to update refresh control on main thread
Resolves #1940.