[erlang-questions] Using processes to implement business logic

Imants Cekusins imantc@REDACTED
Fri Jan 30 12:58:11 CET 2015


Did you consider gen_fsm?

gen_fsm lets you maintain the current state (both stage of the state
machine and the state data).

It simplifies garbage collection: it is possible to set timeouts for
each specific stage

Info about which particular stage times out is available. The code can
then act accordingly.



More information about the erlang-questions mailing list