Introduce DynamicSupervisor

Learn to use the dynamic supervisors to start GenServer processes.

The DynamicSupervisor supervisor

DynamicSupervisor is another ready-to-use supervisor available to us. It can start any GenServer process on demand. Let’s add it to the supervision tree:

Get hands-on with 1200+ tech skills courses.