Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 394 Bytes

README.markdown

File metadata and controls

9 lines (6 loc) · 394 Bytes

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.