Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.8k stars 778 forks source link

WIP Prosal on how to fix #618 by implementing AsyncEventHandlers #721

Closed KasperSK closed 4 years ago

KasperSK commented 4 years ago

I would like some feed back on this, do you guys think it is a good idea to try and use AsyncEventHandlers? Have I missed something that would break current functionality?

I really dont see any other way to fix #618 as @nigel-sampson stated in the issue async and normal eventhandlers do not mix.

vb2ae commented 4 years ago

Async event handlers are the only way I can think of to fix this also. I like how you did the code.

nigel-sampson commented 4 years ago

I'd make adding this to the documentation a high priority due to it being different from the norm.