Manuel Albarran

A random notes about Elixir

setInteval & setTimeout

04 Feb 2017 » elixir, time

setInteval

apply-interval

:timer.apply_interval(1000, IO, :puts, ["weeeee"]) # millisends, module, function as atom, list of arguments

setTimeout

apply_after

:timer.apply_after(...)