FluxFlow.Components.State 0.1.0-alpha.1

This is a prerelease version of FluxFlow.Components.State.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.State --version 0.1.0-alpha.1
                    
NuGet\Install-Package FluxFlow.Components.State -Version 0.1.0-alpha.1
                    
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="FluxFlow.Components.State" Version="0.1.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.State" Version="0.1.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.State" />
                    
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 FluxFlow.Components.State --version 0.1.0-alpha.1
                    
#r "nuget: FluxFlow.Components.State, 0.1.0-alpha.1"
                    
#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 FluxFlow.Components.State@0.1.0-alpha.1
                    
#: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=FluxFlow.Components.State&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.State&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Tool

FluxFlow.Components.State

Reusable state components for FluxFlow.

Nodes

Node type Shape Purpose
state.reducer Input → Output, Errors Keeps per-key state and updates it with a reducer expression.

Reducer

{
  "type": "state.reducer",
  "name": "topicState",
  "keyExpression": "topic",
  "initialState": { "count": 0 },
  "reducer": "update-topic-state",
  "engine": "sample",
  "boundedCapacity": 128,
  "maxKeys": 1024
}

state.reducer consumes StateReducerInput and emits StateReducerResult. The reducer expression receives variables for key, input, value, state, previousState, initialState, version, operation, and any per-message Variables.

If keyExpression is set, it resolves the state key from the same expression context. Otherwise the node uses StateReducerInput.Key.

Operations

StateReducerInput.Operation defaults to Reduce.

  • Reduce: evaluate the reducer and store the new state.
  • Reset: store the request InitialState or node initialState.
  • Clear: remove the state for the key and emit a result with NewState null.

Reducer failures are emitted through Errors and later messages continue. State updates are serial, so each key observes deterministic ordered changes.

Registration

registry.RegisterStateComponents(options =>
    options.UseExpressionEngine(myExpressionEngine));
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 (1)

Showing the top 1 NuGet packages that depend on FluxFlow.Components.State:

Package Downloads
FluxFlow.Components.State.Composition

Typed JSON state-reducer registration and Designer metadata over host-owned expression and clock resources.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.0-rc.1 123 9/5/2026
6.0.0 194 8/3/2026
3.0.5 141 7/3/2026
3.0.4 185 7/2/2026
3.0.0 132 6/19/2026
2.0.0 150 6/18/2026
1.2.0 447 6/12/2026
1.1.0 136 6/5/2026
1.0.0 137 6/4/2026
0.3.0-alpha.1 255 6/2/2026
0.2.0-alpha.1 84 6/2/2026
0.1.1-alpha.1 87 6/2/2026
0.1.0-alpha.1 114 6/1/2026

Adds the initial state reducer component package.