I also dug up and found the answer to my question.
"" , , -.
:
some_fsm_state({set, Val}, State) ->
NewState = do(Val, State),
{next_state, another_fsm_state, NewState, 5000};
another_fsm_state(timeout, State) ->
handle_timeout(State).
another_fsm_state({set, Val}, State) ->
%% more code that handles this state.
some_fsm_state, "another_fsm_state" - 5000 . 5000 , other_fsm_state (timeout, State).
OTP.:)
, . . Erlang.
Erlang - Hibernate
gen_fsm docs