I\'ve asserted my understanding of async/await on a couple of occasions, often with some debate as to whether or not I\'m correct. I\'d really appreciate it if anyone could eit
That's pretty much correct.
A few notes though:
ThreadPool
thread.Task
) is already completed the thread will continue executing the rest of the method synchronously.ThreadPool
thread, but that depends on the SyncrhonizationContext
and TaskScheduler
.Task.Delay
or use asynchronous synchronization constructs like SemaphoreSlim.WaitAsync
.