8000 GitHub - ajeetkr-7/go-bloc: state management library in go. Event driven. Persistable
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ajeetkr-7/go-bloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Machine

  • A generic finite state machine.
  • initial state, List of all possible states and mapping of transitions

How it works:

  • machine accepts the initial state, and list of states

  • state - initial, loading, loaded, failed

  • event - loadData

  • action - func(state) -> state

  • statemachine (initial state, event -> action mapping )

About

state management library in go. Event driven. Persistable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0