Skip to content

Commit f4a268a

Browse files
author
Jay Thomason
committed
fix minor typo
1 parent f1856e3 commit f4a268a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/processes.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Function: #Function<20.90072148/0 in :erl_eval.expr/5>
166166
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
167167
```
168168

169-
Besides providing better error logging, there are a couple other differences: `start/1` and `start_link/1` return `{:ok, pid}` rather than just the PID. This is what enables Tasks to be used in supervision tree. Furthermore, tasks provides convenience functions, like `Task.async/1` and `Task.await/1`, and functionality to ease distribution.
169+
Besides providing better error logging, there are a couple other differences: `start/1` and `start_link/1` return `{:ok, pid}` rather than just the PID. This is what enables Tasks to be used in supervision trees. Furthermore, tasks provides convenience functions, like `Task.async/1` and `Task.await/1`, and functionality to ease distribution.
170170

171171
We will explore those functionalities in the ***Mix and OTP guide***, for now it is enough to remember to use Tasks to get better logging.
172172

0 commit comments

Comments
 (0)