[Elixir] Task (async, await)
|Introduction
Elixir
의Task
를 통해async
,await
를 사용하는 다양한 방법에 대해 코드로 간단히 소개해보겠다.
async_stream
unbound async + take
async / await
await_many
References
- https://hexdocs.pm/elixir/Task.html
- https://github.com/bossm0n5t3r/learning-elixir/blob/master/31-task.exs