Michael Ceber
Mar 12, 2021

--

Hi Brandon,

Good point on the title of the article, this is indeed very specific to EF Core.

True, if you were to use Task.WhenAll to run the two tasks in parallel this would be faster than two awaits consecutively, and not as complex as the pattern described here.

I guess the idea of using this pattern is to return the request as quickly as possible whilst also triggering a background job without too much fuss.

Michael

--

--

Michael Ceber
Michael Ceber

Written by Michael Ceber

Fullstack .net, c#, typescript, react developer etc…

No responses yet