Designing Elixir Systems with OTP: Why does the API use the GenServer.call function?

Why does the API (Mastery module in lib/mastery.ex, page122) use GenServer calls instead of the clean client functions of the GenServers built in QuizManager an QuizSession which do exactly that an hide those implementation details?

1 Like