Skip to content

Instantly share code, notes, and snippets.

@samdvr

samdvr/task.ex Secret

Last active October 26, 2017 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samdvr/76ad045a13140a344ec1e0b045980562 to your computer and use it in GitHub Desktop.
Save samdvr/76ad045a13140a344ec1e0b045980562 to your computer and use it in GitHub Desktop.
Task.ex
Task.async(fn ->
work
end)
def work do
do_thing1
do_thing2
send_socket_message
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment