{ok, Bob}=trade_fsm:start("Bob"). {ok, Tom}=trade_fsm:start("Tom"). trade_fsm:trade(Bob,Tom). trade_fsm:accept_trade(Tom).
{ { function_clause, [ { gen, call, [ {ok,<0.34.0>}, '$gen_sync_event', {negotiate,{ok,<0.37.0>}}, 30000 ], [{file,"gen.erl"},{line,146}] }, { gen_fsm, sync_send_event, 3, [{file,"gen_fsm.erl"},{line,210}] }, { erl_eval, do_apply, 6, [{file,"erl_eval.erl"},{line,568}] }, { shell,exprs, 7, [{file,"shell.erl"},{line,667}] }, { shell, eval_exprs, 7, [{file,"shell.erl"},{line,622}] }, { shell, eval_loop, 3, [{file,"shell.erl"},{line,607}] } ] }, { gen_fsm, sync_send_event, [{ok,<0.34.0>},{negotiate,{ok,<0.37.0>}},30000] } }