You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it viable to have IEventAggregator where the subscriber will specify the type of thread marshaller it supports (UI thread vs background job) and the event aggregator Publish() method will be thread agnostic?
For example, MvvmCross IMvxMessenger interface has these methods:
At the moment this wouldn't be possible with extensions to the EventAggregator, there aren't any specific reasons why it was done this way (publisher specifying the threading rather than the subscriber).
Is it viable to have IEventAggregator where the subscriber will specify the type of thread marshaller it supports (UI thread vs background job) and the event aggregator Publish() method will be thread agnostic?
For example, MvvmCross
IMvxMessenger
interface has these methods:Can this pattern be used with Caliburn? Or are there some specifics why Caliburn requires the Publisher to set the thread?
The text was updated successfully, but these errors were encountered: