sbyrne
01/23/2019, 4:54 PMrunAsync
calls in the controller, and the controller methods returning a Task
, so the view can call ui
as needed. This way the controller (which may be injected into multiple views) can keep track of running background tasks and knows how to cancel them.