FarNet.Stateless 0.1.1

Prefix Reserved
dotnet add package FarNet.Stateless --version 0.1.1                
NuGet\Install-Package FarNet.Stateless -Version 0.1.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="FarNet.Stateless" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FarNet.Stateless --version 0.1.1                
#r "nuget: FarNet.Stateless, 0.1.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.
// Install FarNet.Stateless as a Cake Addin
#addin nuget:?package=FarNet.Stateless&version=0.1.1

// Install FarNet.Stateless as a Cake Tool
#tool nuget:?package=FarNet.Stateless&version=0.1.1                

FarNet.Stateless

Interactive workflows using dotnet-state-machine/stateless.

Packages

Use cases

  • Interactive workflows using PowerShell host UI.
  • Persistent workflows using checkpoint files.
  • Testing and visualizing state machines.
  • Interactive input of complex data.
  • Hierarchical action/choice menus.

Examples

See FarNet.Stateless/examples

Phone.stateless.ps1 example with interactive loop in PowerShell:
(OnHookOffHookDial (+ prompt for number) → RingingConnected → ...)

image

PowerShell module

You may install the PowerShell module by this command:

Install-Module -Name FarNet.Stateless

Explore, see also about_FarNet.Stateless.help.txt:

# import and get module commands
Import-Module -Name FarNet.Stateless
Get-Command -Module FarNet.Stateless

# get module and commands help
help about_FarNet.Stateless
help Invoke-Stateless
help Invoke-StateMachine
help Show-StateMachine

FarNet library

To install as the FarNet library FarNet.Stateless, follow these steps.
See PowerShell FarNet modules for details.

See also

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.1.1 127 8/4/2024
0.1.0 92 7/15/2024
0.0.3 94 7/13/2024
0.0.2 85 7/12/2024
0.0.1 88 7/10/2024