Skip to content

Instantly share code, notes, and snippets.

@alexandreservian
Created March 24, 2020 16:10
Show Gist options
  • Save alexandreservian/7966773183478f92e3e86eff6cf7c76c to your computer and use it in GitHub Desktop.
Save alexandreservian/7966773183478f92e3e86eff6cf7c76c to your computer and use it in GitHub Desktop.
Exemplo usando after na macro receive
iex> receive do
...> msm -> msm
...> after
...> 1000 -> "nada aconteceu depois de 1s"
...> end
"nada aconteceu depois de 1s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment