Open.ChannelExtensions
AsyncEnumerable
Our great sponsors
Open.ChannelExtensions | AsyncEnumerable | |
---|---|---|
4 | 1 | |
313 | 441 | |
1.9% | 0.0% | |
6.4 | 10.0 | |
3 days ago | over 3 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Open.ChannelExtensions
-
System.Threading.Channels Golang switch Equivalent?
Open. ChannelExtensions
-
Best way to process large amount of Tasks?
Low level channels is always a bit messy for me. The ChannelExtensions library is the way to go for me, the code is much cleaner.
-
C# experience from a perspective of a Scala Developer.
For streaming you should look into channels. The built in functionality is a bit too low level to be immediately useful, but if you use the ChannelExtensions library https://github.com/Open-NET-Libraries/Open.ChannelExtensions it's very easy to work with IAsynEnumerable and do things like batching, merging and transforming.
- Open.ChannelExtensions v5.1.0: Batching can now have a timeout.
AsyncEnumerable
-
Best way to process large amount of Tasks?
And if you're not on .Net 6 yet, this package provides similar functionality: https://github.com/Dasync/AsyncEnumerable
What are some alternatives?
ezThread - Library for easy threading tasks
RabbitMQ.Dataflows - A set of libraries for rapidly developing RabbitMQ workflows/pipelines.
lib12 - lib12 is a library of universal helpers and extensions useful in any .NET project
AsyncAwaitBestPractices - Extensions for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask
Rx.NET - The Reactive Extensions for .NET
language-ext - C# functional language extensions - a base class library for functional programming
vs-threading - The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.