Skip to content

mfine/multi_fsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi_fsm is a wrapper around gen_fsm for dispatching on multiple states. Modifies gen_fsm callbacks by removing StateName parameters and return values. Adds callback to identify which state to dispatch on. gen_fsm APIs not overlaid by this moudle are applicable.

An example:

baby_fsm:start(henry).
baby_fsm:eat(henry).
baby_fsm:drink(henry).

Your contributions are welcome.

About

Multiple states machine wrapper for gen_fsm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages