TimerMng (fsm_diagram v0.1.0)

Copy Markdown View Source

Timer Manager

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

arg is passed as the argument to Task.start_link/1 in the :start field of the spec.

For more information, see the Supervisor module, the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.

get_lists()

@spec get_lists() :: list()

get_tick()

@spec get_tick() :: integer()

start_link(tick \\ 10)

@spec start_link(integer()) :: {:ok, pid()}