Elixir LanguageTask


Syntax

  • Task.async(fun)
  • Task.await(task)

Parameters

ParameterDetails
funThe function that should be executed in a separate process.
taskThe task returned by Task.async.