Looks async, behaves sync.
Why
Blocking APIs inside async flows.
await Task.Delay(1); // not Thread.Sleep
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Looks async, behaves sync.
Why
Blocking APIs inside async flows.
await Task.Delay(1); // not Thread.Sleep