gen_fsm: forcing state transitions

Joel Reymont joelr1@REDACTED
Fri Apr 15 12:18:11 CEST 2005


> Vladimir Sekissov wrote:

>User 0 instead of 1, but I think would be better to create separate
>worker process to handle the task and receive the result.

Any particular reason why? 

What I'm trying to avoid is adding a bunch of code and logic before
making that transition since then I would need to test the different
branches under    the state that forces the transition as opposed to the
state that's being transitioned to. 

    Thanks, Joel

-- 
http://wagerlabs.com/tech





More information about the erlang-questions mailing list