This is the ninth part of the Async Wandering series. For your convenience you can find other parts in the table of contents in Part 1 – Why creating Form from WinForms in unit tests breaks async? In previous part I mentioned multiple ways to await a task with timeout. Let’s see them. Sketch Let’s … Continue reading Async Wandering Part 9 — awaiting with timeout
Tag: Task
.NET Inside Out Part 24 – Synchronous waiting for the Task in the same frame
This is the twentieth fourth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# Let’s take this code: and compare it with this one: They look very similar, however, they give different outputs. First … Continue reading .NET Inside Out Part 24 – Synchronous waiting for the Task in the same frame