The Pragmatic Studio

GenServer Module Added To Elixir/OTP Course

September 13, 2017

It’s now time to use Elixir’s official GenServer behavior in our application! All the work you put into the last two modules of the Elixir/OTP course is absolutely going to pay off right here, right now.

Actually using a GenServer in this week’s new module #26 OTP GenServer is a snap because you already understand GenServer’s underlying design pattern and how it’s implemented. Besides converting our app to use a GenServer (and eliminating a bunch of code!) we also add new application-specific behavior to our GenServer.

Spoiler Alert: At the end of this module, GenServer will no longer feel magical. 😉

Enjoy!