Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikiforovall/async-enumerable-pipelines
This repository demonstrates how to use IAsyncEnumerable and System.Linq.Async to build pipelines in C#.
https://github.com/nikiforovall/async-enumerable-pipelines
ai async-await dotnet iasyncenumerable iobservable pipelines reactive semantic-kernel
Last synced: 3 months ago
JSON representation
This repository demonstrates how to use IAsyncEnumerable and System.Linq.Async to build pipelines in C#.
- Host: GitHub
- URL: https://github.com/nikiforovall/async-enumerable-pipelines
- Owner: NikiforovAll
- Created: 2024-08-22T15:38:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T19:51:53.000Z (5 months ago)
- Last Synced: 2024-10-10T19:40:01.757Z (3 months ago)
- Topics: ai, async-await, dotnet, iasyncenumerable, iobservable, pipelines, reactive, semantic-kernel
- Language: C#
- Homepage:
- Size: 5.22 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building pipelines with IAsyncEnumerable
[![Build](https://github.com/NikiforovAll/async-enumerable-pipelines/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/NikiforovAll/async-enumerable-pipelines/actions/workflows/build.yml)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nikiforovall/async-enumerable-pipelines/blob/main/LICENSE.md)This repository demonstrates how to use `IAsyncEnumerable` and `System.Linq.Async` to build pipelines in C#.
> [!IMPORTANT]
> This repository doesn't cover all the possible concerns such as error handling, cancellation, backpressure, performance, etc. It's just a simple demonstration of how to build pipelines with `IAsyncEnumerable` and `System.Linq.Async`.```bash
dotnet example --list
``````text
╭─────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────╮
│ Example │ Description │
├─────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────┤
│ CalculateWordCountPipeline │ Demonstrates how to build async-enumerable pipelines based on standard LINQ operators │
│ CalculateWordCountFileWatcherPipeline │ Demonstrates how to combine async-enumerable pipelines with IObservable. E.g: file watcher │
│ CalculateWordCountBatchPipeline │ Demonstrates how to use batching in async-enumerable pipelines │
│ TextSummarizationAndAggregationPipeline │ Demonstrates how to build custom async-enumerable operators │
╰─────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────╯
```
## Demo: CalculateWordCountPipeline## Demo: CalculateWordCountFileWatcherPipeline
## Demo: CalculateWordCountBatchPipeline
## Demo: TextSummarizationAndAggregationPipeline
## References
-
-
-