Question about async/await

0
0

Hey Guys,

I’m starting to use async and await a lot more in our code here and I was wondering what sort of issues we might have for example does this work correctly with the context.

Application.StartTask( async() =>
{
var connString = Application.Session[“ConnectionString”];
await SomeLongRunningQuery(connString);
Application.Update(this);
}

  • You must to post comments
0
0

Hi Mark,

async/await has no standing issues concerning context restore – it was throughly tested.

Just to mention the public code base, async/await is used in several extensions and examples, GoogleMaps example for instance.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.