Info
Version: | 1.0.3 |
Author(s): | Sergey Sedelnikov |
Last Update: | Tuesday, January 5, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/XStateNet |
Install
Install-Package XStateNet
dotnet add package XStateNet
paket add XStateNet
XStateNet Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
No dependencies.
No dependencies.
Tags
Powerful and asynchronous framework to build and run finite state machines in .NET.
Main features:
1. Declarative state machine building and running in asynchronous mode, with awaiting or without (non blocking the main thread);
2. States can execute delegate with callback to generate multiple events and have various state switch transitions, as well as asynchronous actions to switch state on action done or error; Each service can execute also another state machine and move to another state on machine done or error;
3. Side effects for each state: actions on state enter, on state exit.
Activities - long running awaitable and task with cleanup method that runs while machine is in the certain state but that action can't affect state machine.
4. Additional service types and modes for state: transient state, timeout service, final state;.