Giter Site home page Giter Site logo

slashdotdash / stateless Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 13.0 3.9 MB

[DEPRECATED] A C# Hierarchical State Machine

Home Page: https://github.com/dotnet-state-machine/stateless

C# 47.53% Batchfile 5.36% CSS 2.15% JavaScript 12.65% XSLT 20.80% ASP 10.36% HTML 1.15%

stateless's People

Contributors

paulroho avatar slashdotdash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stateless's Issues

NuGet Package

Hello, great library!

I have a user requesting your library on our open source platform (quantconnect.com). Can you please provide a NuGet Package so we can import the library?

Thanks
Jared

Read from to the stateAccessor not so often

When using the StateMachine.ctor for the use with external storage

public StateMachine(Func<TState> stateAccessor, Action<TState> stateMutator)

the stateAccessor-delegate gets called rather often. For example for a simple state transition the pattern looks like this:

Loading state
Loading state
Loading state
Saving state
Loading state

If I would naively attach some service calls or database operations this might cause some pain.

What I would suggest as a default behaviour is to load state via stateAccessor() just a single time on creation of the state machine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.