-
-
Save williamtran29/84c0f45592adfb0bf64118288b485780 to your computer and use it in GitHub Desktop.
Set an interval in elixir-lang using erlang timer module
This file contains 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