Oggi ti parlo dei Channel, introdotti in .NET Core 3.0, ma ad oggi poco utilizzati. Sono una struttura dati che permette di implementare un modello producer/consumer, andando a disaccoppiare in modo asincrono la logica dell'applicazioni. Performanti e thread-safe.
- https://learn.microsoft.com/en-us/shows/on-dotnet/working-with-channels-in-net
- https://devblogs.microsoft.com/dotnet/an-introduction-to-system-threading-channels/
- https://medium.com/@sociable_flamingo_goose_694/lightweight-net-channel-pub-sub-implementation-aed696337cc9
- https://dev.to/noseratio/c-events-as-asynchronous-streams-with-reactivex-or-channels-82k
#dotnet #channels #dotnetinpillole #podcast