File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -991,7 +991,7 @@ defmodule Task do
991
991
992
992
* the task process exited with the reason `:normal`
993
993
* the task isn't linked to the caller (the task was started
994
- with `Task.async_nolink/2` or `Task.Supervisor.async_nolink/3 `)
994
+ with `Task.Supervisor. async_nolink/2` or `Task.Supervisor.async_nolink/4 `)
995
995
* the caller is trapping exits
996
996
997
997
A timeout, in milliseconds or `:infinity`, can be given with a default value
@@ -1080,7 +1080,7 @@ defmodule Task do
1080
1080
1081
1081
`Task.yield_many/2` allows developers to spawn multiple tasks
1082
1082
and retrieve the results received in a given timeframe.
1083
- If we combine it with `Task.shutdown/2` (or `Task.ignore/2 `),
1083
+ If we combine it with `Task.shutdown/2` (or `Task.ignore/1 `),
1084
1084
it allows us to gather those results and cancel (or ignore)
1085
1085
the tasks that have not replied in time.
1086
1086
You can’t perform that action at this time.
0 commit comments