Edit the note of tick timer
This commit is contained in:
parent
c412f6d5ed
commit
93719a13f3
|
@ -106,7 +106,7 @@ start_tick(0, _Msg) ->
|
||||||
start_tick(Interval, Msg) when Interval > 0 ->
|
start_tick(Interval, Msg) when Interval > 0 ->
|
||||||
{ok, TRef} = timer:send_interval(Interval, Msg), TRef.
|
{ok, TRef} = timer:send_interval(Interval, Msg), TRef.
|
||||||
|
|
||||||
%% @doc Start tick timer
|
%% @doc Stop tick timer
|
||||||
stop_tick(undefined) ->
|
stop_tick(undefined) ->
|
||||||
ok;
|
ok;
|
||||||
stop_tick(TRef) ->
|
stop_tick(TRef) ->
|
||||||
|
|
Loading…
Reference in New Issue