Writing the Proctor Boundary Server
Let’s start implementing a GenServer in our newly created Proctor module.
We’ll create a new Proctor
module in the Boundary namespace to implement a GenServer
to schedule quizzes. It’s a single API, Proctor.schedule_quiz
, but a complex one. Let’s walk through it step by step.
Establishing our GenServer
Create a new file /lib/mastery/boundary/proctor.ex
so we can establish our GenServer
:
Get hands-on with 1400+ tech skills courses.