FluxFlow.Components.Expectations.Composition 1.3.0

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

FluxFlow.Components.Expectations.Composition

Optional FluxFlow.Composition registration helpers for the standalone event expectation node from FluxFlow.Components.Expectations.

This package does not scan assemblies, resolve CLR types from strings, create scenario runners, or add lifecycle hooks. Hosts register the event expectation factory explicitly and may provide an optional keyed TimeProvider.

Registration

services
    .AddFluxFlowComposition(configuration)
    .RegisterNodes(registry => registry.RegisterEventExpectation());

Node Types

Type Node Ports
event.expectation EventExpectationNode Input, Output

The factory exposes Events and Errors. clock is an optional keyed TimeProvider resource for deterministic timeout, result, event, and error timestamps. The request/result CLR types are fixed to ProjectionEvent and EventExpectationResult.

Configuration

{
  "FluxFlow": {
    "Composition": {
      "workflows": {
        "main": {
          "nodes": {
            "expectation": {
              "type": "event.expectation",
              "resources": {
                "clock": "fixed"
              },
              "configuration": {
                "kind": 0,
                "name": "order-completed",
                "timeoutMilliseconds": 5000,
                "maxObservedEvents": 10,
                "maxPreviewChars": 256,
                "boundedCapacity": 128,
                "filter": {
                  "type": "operation.completed",
                  "status": "ok",
                  "subjectPrefix": "orders/",
                  "attributes": {
                    "tenant": "north"
                  }
                }
              }
            }
          },
          "links": []
        }
      }
    }
  }
}

The node binds the existing EventExpectationOptions shape from composition configuration. kind follows the existing enum values: 0 for expect and 1 for guard.

Design Metadata

ExpectationsComponentDesignMetadataProvider exposes neutral Designer metadata for event.expectation so hosts can build palettes, editors, validation hints, or documentation without copying package descriptors. The metadata describes the existing event expectation option record, option grouping/editor hints, fixed ports, and optional clock resource picker hint. Optional keyed TimeProvider clocks remain host-owned resources with a key-pattern hint and are not modeled as editable node options. The metadata is authored through the shared validated Designer metadata builder while preserving the same public metadata contracts consumed by hosts.

CompleteWithResultAsync() remains a direct node lifecycle feature in v1. Composition runtime stop uses normal node completion; callers that need a completion-result flush should use EventExpectationNode.CompleteWithResultAsync() directly until a composition lifecycle hook is added.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0-rc.1 66 9/5/2026
7.0.0-rc.1 75 8/9/2026
6.0.0 135 8/3/2026
1.4.0 119 7/3/2026
1.3.0 117 7/2/2026

Adds richer Designer option hints and a host-owned clock resource key pattern for event expectation composition metadata while preserving runtime behavior.