4 ms·
Elixir newbie here. My understanding if that Agent[1] was designed specifically to keep state. But then again, an Agent is a GenServer is a process, so I guess
by fasteo 9y ago
Elixir newbie here.
My understanding if that Agent[1] was designed specifically to keep state. But then again, an Agent is a GenServer is a process, so I guess the post just served as a introduction to the concept of a Elixir process.
[1] https://hexdocs.pm/elixir/Agent.html https://hexdocs.pm/elixir/Agent.html
- ck3g 9y agoYes. That is correct. I am going to cover Agents, Tasks and OTP in the following articles. I thought the article would be too big if I cover all three topics at once.