GenServer Callbacks: terminate
Learn how the GenServer ends running processes using the terminate callback.
The terminate
callback function
The terminate/2
callback is usually invoked before the process exits, but only when the process itself is responsible ...