Keeping State With Elixir Agents

Learn about the use of Elixir Agents and how to use them in an API.

The Elixir Agent module provides a simple way to store and retrieve the state in our application. Let’s see how easy it is to manage the state with an Agent process, by executing the following commands in sequence in the iex shell:

Get hands-on with 1200+ tech skills courses.