← Back
Nick Chapsas June 29, 2025 35s

Delay correctly in .NET

Summary

In this technical discussion about .NET threading, the transcript emphasizes the importance of avoiding blocking thread operations like Thread.Sleep, which can harm application scalability and prevent concurrent work. The speaker recommends using alternative non-blocking methods such as Task.Delay, which allows threads to continue executing other tasks while waiting. While Thread.Sleep might be acceptable in very specific testing scenarios or edge cases, it is generally considered an anti-pattern in production code and should be avoided.

View original episode ↗