Get State from a GenServer process in Elixir
TIL that I have been doing this completely wrong. I have been using this custom implementation: defmodule MyModule do use GenServer def report(server) do GenServer.call(server, :report) end # More functions @impl true def handle_cal...
Dec 28, 20231 min read73
