...

/

Make Improvements to Our GenServer

Make Improvements to Our GenServer

Learn some of the potential limitations of our GenServer and how we can go about correcting them.

Limitations of our GenServer

Our SendServer implementation is far from ideal. Remember that send_email/1 pauses the process for three seconds. If we try running GenServer.cast(pid, {:send, "hello@email.com"}) several times in a row, GenServer acknowledges all messages by ...