Concurrent Data Processing in Elixir: Updating state in handle_cast (page 32)

final line of function should be:

{:noreply, {state | emails: emails}}

1 Like