File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ defmodule Task do
77
77
supervisor(Task.Supervisor, [[name: :tasks_sup]])
78
78
]
79
79
80
- Note that, when working with distributed tasks, one should use the `async/4 ` API,
81
- that expects explicit module, function and arguments, instead of `async/2 ` that
80
+ Note that, when working with distributed tasks, one should use the `async/3 ` API,
81
+ that expects explicit module, function and arguments, instead of `async/1 ` that
82
82
works with anonymous functions. That's because the anonymous function API expects
83
83
the same module version to exist on all involved nodes. Check the `Agent` module
84
84
documentation for more information on distributed processes, as the limitations
@@ -160,7 +160,7 @@ defmodule Task do
160
160
end
161
161
162
162
@ doc """
163
- Awaits for a task reply.
163
+ Awaits a task reply.
164
164
165
165
A timeout, in milliseconds, can be given with default value
166
166
of `5000`. In case the task process dies, this function will
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ defmodule URI do
68
68
69
69
Takes an enumerable (containing a sequence of two-item tuples)
70
70
and returns a string of the form "key1=value1&key2=value2..." where
71
- keys and values are URL encoded as per `encode/1 `.
71
+ keys and values are URL encoded as per `encode/2 `.
72
72
73
73
Keys and values can be any term that implements the `String.Chars`
74
74
protocol, except lists which are explicitly forbidden.
You can’t perform that action at this time.
0 commit comments