Open.ChannelExtensions
AsyncAwaitBestPractices
Our great sponsors
Open.ChannelExtensions | AsyncAwaitBestPractices | |
---|---|---|
4 | 4 | |
313 | 1,542 | |
1.9% | - | |
6.4 | 7.6 | |
3 days ago | 11 days 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.
AsyncAwaitBestPractices
- Async workaround ideas for a shared class library problem
-
How to Upload an Image to a Server in the Background?
Here's the repo: https://github.com/brminnick/AsyncAwaitBestPractices
-
Ask HN: Codebases with great, easy to read code?
This guy made a HN mobile reader and put all the code on Github for his NDC Oslo presentation, it was good and shows off very readable asynchronous code in C#:
https://github.com/brminnick/AsyncAwaitBestPractices
-
A little help with Task async await
There is a nuget package that gives you SafeFireAndForget if you really don’t want to await an async method. (https://github.com/brminnick/AsyncAwaitBestPractices)
What are some alternatives?
ezThread - Library for easy threading tasks
FluentScheduler - Automated job scheduler with fluent interface for the .NET platform.
lib12 - lib12 is a library of universal helpers and extensions useful in any .NET project
Workflow Core - Lightweight workflow engine for .NET Standard
AsyncEnumerable - Defines IAsyncEnumerable, IAsyncEnumerator, ForEachAsync(), ParallelForEachAsync(), and other useful stuff to use with async-await
QuartzNet - Quartz Enterprise Scheduler .NET
Rx.NET - The Reactive Extensions for .NET
DurableTask - Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
language-ext - C# functional language extensions - a base class library for functional programming
Cronos - A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
vs-threading - The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
Chroniton - A library for running tasks(jobs) on schedules.