Re:Elixir multiple processes: Basics
by fasteo on Monday December 18, 2017 @01:51PM
(#15954199)
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.
Re:Elixir multiple processes: Basics
by ck3g on Tuesday December 19, 2017 @04:05AM
(#15958789)
Yes. 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.
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