Agents and Tasks
Learn about two examples of supervised processes in Elixir—agents and tasks.
We'll cover the following...
Supervised processes
Processes play a crucial role in Elixir. We have seen how processes model state changes. Processes are also used to enable concurrency and provide fault tolerance.
Elixir provides two abstractions, called agents and tasks, that are specializations of those use cases. Agents and tasks are supervised processes.
Agents
An agent is a process that ...