IHandleWithCoroutine

Topics: Actions & Coroutines
Feb 21, 2013 at 12:38 PM
I noticed above mentioned interface after upgrading. I assume this is not being used within CM though? This is actually something I would like to take advantage of; do you have any pointers what would be the best way to enable eventaggregator to use this?
Feb 21, 2013 at 12:41 PM
You could use my CanClose approuch

http://caliburnmicro.codeplex.com/discussions/432364
Feb 21, 2013 at 1:00 PM
I actually have that kind of a solution, but I would like to have ActionExecutionContext created under the hood and avoid calling Coroutine.BeginExecute directly.
Feb 21, 2013 at 2:28 PM
The Bootstrapper is already preparing everything for you.
Just use IHandleWithCoroutine instead of IHandle and your event handler is a Coroutine.