This is a solution to the challenge from the end of the Simplest Elixir process example.
The challenge was to create a module with two spawnable processes. One process is a counter that counts numbers at a regular interval. The second is a controller process that spawns the counter, starts it and terminates it.
(Source code available for premium members)