timonkrebs / MemoizR

Declarative Structured Concurrency for C#
Apache License 2.0
106 stars 3 forks source link

Add WPF lib that works on thread pool except for the reaction #13

Open timonkrebs opened 11 months ago

timonkrebs commented 11 months ago

In WPF only the state relevant for the ui should be handeled on the UI thread. Every thing else should be done on workers.

Application.Current.Dispatcher.Invoke(new Action(() => { /* Your code here */ }));

timonkrebs commented 10 months ago

provide dependencies as seperate params so that they can be evaluated independently. Most important for the effect.