Elixir Language Task Doing work in the background


Example

task = Task.async(fn -> expensive_computation end)
do_something_else
result = Task.await(task)