Created
July 31, 2016 17:13
-
-
Save kandros/ef8d301a46ea2c8245276f9844391dc3 to your computer and use it in GitHub Desktop.
Set an interval in elixir-lang using erlang timer module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:timer.apply_interval(1000, IO, :puts, ["weeeee"]) # millisends, module, function as atom, list of arguments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment