-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add a fyne.Do method for developers #5392
Conversation
742693e
to
639bbf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with the new API but let's hear what the other think first :)
// Since: 2.6 | ||
CallFromGoroutine(func()) | ||
DoFromGoroutine(func()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to un-export this one for public use to avoid confusion, so we just have fyne.Do
? Or at least have the documentation here make clear that it is entirely equivalent to calling fyne.Do
and fyne.Do
should generally be preferred (for brevity and for standardization)?
and update our naming/docs
Testing the threading model is a separate PR as it refers to the driver work not this top level package change.
Nearing the end of #4654
Checklist: