Свежий пост на блоге Microsoft про async/await и их работу, а также про: SynchronizationContext, TaskScheduler, ConfigureAwait и многое другое
https://devblogs.microsoft.com/dotnet/configureawait-faq
#async #await
https://devblogs.microsoft.com/dotnet/configureawait-faq
#async #await
Microsoft News
ConfigureAwait FAQ
.NET added async/await to the languages and libraries over seven years ago. In that time, it’s caught on like wildfire, not only across the .NET ecosystem, but also being replicated in a myriad of other languages and frameworks. It’s also seen a ton of improvements…
Работа с асинхронными потоками в C# 8
https://developers.redhat.com/blog/2020/02/24/c-8-asynchronous-streams
#asynchronous #stream #async
https://developers.redhat.com/blog/2020/02/24/c-8-asynchronous-streams
#asynchronous #stream #async
Red Hat Developer
C# 8 asynchronous streams | Red Hat Developer
.NET Core 3.1 (December 2019) includes support for C# 8, a new major version of the C# programming language. In this series of articles, we'll look at the new
Тонкости использования ref struct при работе с асинхронными методами.
https://blogs.endjin.com/2020/03/high-performance-c-a-test-pattern-for-ref-structs
#ref #struct #async
https://blogs.endjin.com/2020/03/high-performance-c-a-test-pattern-for-ref-structs
#ref #struct #async
Endjin
High-performance C#: a test pattern for ref structs | endjin
C# 7.2 introduce ref structs, a new kind of type (Span is a ref struct) designed to support certain high performance scenarios. There are constraints around their use, and when writing unit tests for our Ais.Net parser, this caused some challenges. This blog…