Hi Greg 
If you are not waiting for the tasks to finish, won't you run into a race 
condition?

Davy

Sent from my iPhone

On 27 Apr 2016, at 09:14, Greg Keogh <[email protected]> wrote:

>> You can shorten "f.Invoke()" to just "f()". You can elide "r" as well:
>> 
>> new Action(async () => UpdateUI(await GetStuffAsync("key1")))();
>> new Action(async () => UpdateUI(await GetStuffAsync("key2")))();
>> new Action(async () => UpdateUI(await GetStuffAsync("key3")))();
> 
> I like that shortening, and it's in my code now. I forgot you can go 
> GetFunc()() because it looks so weird. Exception handling isn't a worry in 
> this case, luckily -- Greg

Reply via email to