Streamix 1.1.0

dotnet add package Streamix --version 1.1.0
                    
NuGet\Install-Package Streamix -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Streamix" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Streamix" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Streamix" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Streamix --version 1.1.0
                    
#r "nuget: Streamix, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Streamix@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Streamix&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Streamix&version=1.1.0
                    
Install as a Cake Tool

Streamix

Idiomatic reactive streams for .NET.

Streamix gives you a fluent, async-first stream model on top of IAsyncEnumerable<T> with explicit semantics for composition, concurrency, ordering, cancellation, and backpressure.

Installation

dotnet add package Streamix

What You Get

  • Stream<T> for 0..N values and Single<T> for 0..1 values
  • Fluent operators for filtering, mapping, flattening, timing, retries, and recovery
  • Explicit concurrency and ordering control
  • Cold streams by default, with hot-stream primitives such as Publish, Replay, and RefCount
  • LINQ/query syntax support for the common sequential surface
  • Interop with IAsyncEnumerable<T>, channels, and an optional AsyncRx.NET extensions package

Basic Example

await Stream.Range(1, 10)
    .Filter(x => x % 2 == 0)
    .Map(x => x * 10)
    .ForEachAsync(Console.WriteLine);

A Little More

var products =
    GetUser(id)                       // Single<User>
    .FlatMap(user => GetOrders(user)) // Stream<Order>
    .Map(o => o.Product);             // Stream<string>

Common patterns:

  • Map / MapAwait / MapOrdered
  • Filter / FilterAwait
  • FlatMap / FlatMapAwait / FlatMapOrdered / ConcatMap
  • ScopedAsync (Structured Concurrency)
  • Publish / Replay / RefCount
  • Retry / Timeout / OnErrorResume
  • ToListAsync, CountAsync, FirstAsync, SingleAsync

Streamix keeps concurrency, ordering, hot/cold behavior, and backpressure explicit instead of implicit.

Observability and Debugging

The core package also includes lightweight DEVX operators for naming and inspecting pipelines:

  • Named(string name) tags a stream or single for downstream diagnostics.
  • Log() writes Next(...), Error(...), and Completed signals.
  • Debug() emits the same signal shape to System.Diagnostics.Debug.
  • Checkpoint(string name) adds timing markers around a stage.
  • Trace() emits lifecycle signals such as Subscribe, Request(1), Next(...), Completed, Cancelled, and Dispose.
await Stream.Range(1, 10)
    .Named("Orders")
    .Log()
    .Filter(x => x % 2 == 0)
    .ForEachAsync(Console.WriteLine);

Use the repository docs for fuller signal semantics and examples.

Learn More

Status

Streamix is still early-stage, but this package README is intended to describe the shipped core surface only. Use the root repository README for the fuller product contract, roadmap, and release checklist.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Streamix:

Package Downloads
Streamix.AspNetCore

ASP.NET Core integration for Streamix - enables seamless Server-Sent Events, WebSocket streaming, and HTTP response streaming.

Streamix.Extensions

A lightweight, fluent, async-first streaming library for .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 108 4/23/2026
1.0.0 114 4/20/2026