DEV Community

Discussion on: Async/Await For The Rest Of Us

Collapse
 
jamesmh profile image
James Hickey

Thanks for the feedback! Async is hard. Even when you do know how to use it...

Just an extra thought - HostingEnvironment.QueueBackgroundWorkItem() still uses threads from the thread pool in web apps. Triggering many long-running background tasks could actually cause thread starvation in high-demand scenarios.

Take care Joe!