Skip to content

Instantly share code, notes, and snippets.

View bubbaksmith's full-sized avatar

Brian "Bubba" Smith bubbaksmith

  • Calendly
  • Atlanta, GA
View GitHub Profile
@moklett
moklett / task1.exs
Last active May 7, 2024 09:59
Elixir Task - Crash Handling
# This demonstrates that, when using async/await, a crash in the task will crash the caller
defmodule Tasker do
def good(message) do
IO.puts message
end
def bad(message) do
IO.puts message
raise "I'm BAD!"
end