Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 276 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 276 Bytes

gen_interval

A genereal behaviour for task that needs to be repeated at an interval

Interface

The interval/0 callback should return an integer that (in milliseoncds) defines the interval.

handle_interval/0 is called once an interval has passed.