Replies: 1 comment
-
No. Presentation shouldnt care about UI. Let's leave this responsibility to services. Or use an IDispatcher to always try to schedule on UI thread. |
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
-
By default MVUX will defer all its work on background threads (subscribing to feed, enumerating them and commands), but this can be confusing for users that are not familiar with such concerns.
While MVUX is an opinionated framework and I'm fine that by default everything is executed on background thread, I'm wondering if we should consider to add the ability to request to run some pieces on the UI thread, noticeably commands.
A solution could be to simply OPT-IN using the
CommandAttribute
:Beta Was this translation helpful? Give feedback.
All reactions