logo
  • Start here
  • Episodes
  • Log in
  • Sign up

Controlling one process with another

Topics:
Solutions
OTP
Processes

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)

Share

Back to index
Alchemist Camp 2017-2018
Interested in freelancing?
Terms and Conditions