logo
  • Start here
  • Episodes
  • Articles
  • 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

Request a free email course
Back to index

No Comments

Log in to leave a comment
Alchemist Camp 2017-2020
Hosted on Digital Ocean
Terms and Conditions