Skip to content

Commit 80cd199

Browse files
authored
Update supervisor-and-application.markdown (#1498)
1 parent 6748de3 commit 80cd199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/mix-otp/supervisor-and-application.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ iex(2)> KV.Registry.lookup(KV.Registry, "shopping")
256256
{:ok, #PID<0.88.0>}
257257
```
258258

259-
Let's recap what is happening. Whenever we invoke `iex -S mix`, it automatically starts our application by calling `Application.start(:kv)`, which then invokes the application callback. The application callback's job is to start a **supervision tree**. Right now, our supervisor has a single child named `Kv.Registry`, started with name `KV.Registry`. Our supervisor could have other children, and some of these children could be their own supervisors with their own children, leading to the so-called supervision trees.
259+
Let's recap what is happening. Whenever we invoke `iex -S mix`, it automatically starts our application by calling `Application.start(:kv)`, which then invokes the application callback. The application callback's job is to start a **supervision tree**. Right now, our supervisor has a single child named `KV.Registry`, started with name `KV.Registry`. Our supervisor could have other children, and some of these children could be their own supervisors with their own children, leading to the so-called supervision trees.
260260

261261
## Projects or applications?
262262

0 commit comments

Comments
 (0)