Skip to content

Commit b65b8e2

Browse files
committed
Fix broken link in Task docs
1 parent 5062a15 commit b65b8e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/task.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ defmodule Task do
991991
992992
* the task process exited with the reason `:normal`
993993
* 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`)
995995
* the caller is trapping exits
996996
997997
A timeout, in milliseconds or `:infinity`, can be given with a default value
@@ -1080,7 +1080,7 @@ defmodule Task do
10801080
10811081
`Task.yield_many/2` allows developers to spawn multiple tasks
10821082
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`),
10841084
it allows us to gather those results and cancel (or ignore)
10851085
the tasks that have not replied in time.
10861086

0 commit comments

Comments
 (0)