Task

async_stream/3

async_stream(enumerable, fun, opts \\ [])

Runs fun concurrently over every element of enumerable, each in its own linked process, and returns a stream of {:ok, result} tuples, in the same order as the elements.

Options