XFsm.Timers (XFsm v0.6.0-rc.4)

Copy Markdown View Source

Documentation for XFsm.Timers.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

add(id, ref)

@spec add(term(), reference()) :: :ok

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get(id)

@spec get(term()) :: nil | reference()

remove(id)

@spec remove(term()) :: nil | reference()

start_link(opts)

@spec start_link(keyword()) :: Agent.on_start()