Spawn multiple threads and block/join

That’s kind of a use case for Task.Supervisor.async_stream_nolink/4 - but that involves a number of BEAM concepts.

Should really start with: Processes, Supervisor and Application.

Contrived example and brief explanation.

1 Like