Skip to content

Commit bb02870

Browse files
author
José Valim
committed
Update docs for Task.async_stream, closes #6395
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
1 parent b27db52 commit bb02870

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/elixir/lib/task.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ defmodule Task do
345345
terminates all tasks.
346346
347347
When streamed, each task will emit `{:ok, value}` upon successful
348-
completion or `{:exit, reason, element}` if the caller is trapping
349-
exits, where `element` is the stream element. Results are emitted
350-
in the same order as the original `enumerable`.
348+
completion or `{:exit, reason}` if the caller is trapping exits,
349+
where `element` is the stream element. Results are emitted in the
350+
same order as the original `enumerable`.
351351
352352
The level of concurrency can be controlled via the `:max_concurrency`
353353
option and defaults to `System.schedulers_online/0`. A timeout

0 commit comments

Comments
 (0)