Deploy an Elixir application on Clever Cloud PaaS Where do I put startup code in Elixir?

Elixir Processes: Spawn, Send, and Receive

All of OTP is built on a handful of process primitives. In this article, we’ll explore three in particular – spawn, send, and receive – to see how they work together.

https://samuelmullen.com/articles/elixir-processes-send-and-receive/