From 8890129b399c4b99c6dba61feea771d41c99c129 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Wei Hao Date: Fri, 30 Sep 2016 07:05:26 +0800 Subject: [PATCH 1/2] Add link to Supervisor cheat sheet --- getting-started/mix-otp/supervisor-and-application.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/getting-started/mix-otp/supervisor-and-application.markdown b/getting-started/mix-otp/supervisor-and-application.markdown index 024fffd78..ba83043f4 100644 --- a/getting-started/mix-otp/supervisor-and-application.markdown +++ b/getting-started/mix-otp/supervisor-and-application.markdown @@ -364,7 +364,9 @@ end Now, if the registry worker crashes, both the registry and the "rest" of `KV.Supervisor`'s children (i.e. `KV.Bucket.Supervisor`) will be restarted. However, if `KV.Bucket.Supervisor` crashes, `KV.Registry` will not be restarted, because it was started prior to `KV.Bucket.Supervisor`. -There are other strategies and other options that could be given to `worker/2`, `supervisor/2` and `supervise/2` functions, so don't forget to check both [`Supervisor`](/docs/stable/elixir/Supervisor.html) and [`Supervisor.Spec`](/docs/stable/elixir/Supervisor.Spec.html) modules. +There are other strategies and other options that could be given to `worker/2`, `supervisor/2` and `supervise/2` functions, so don't forget to check both [`Supervisor`](/docs/stable/elixir/Supervisor.html) and [`Supervisor.Spec`](/docs/stable/elixir/Supervisor.Spec.html) modules. + +To help developers remember how to work with Supervisors and it's convenience functions, [Benjamin Tan Wei Hao](http://benjamintan.io/) has created a [Supervisor cheat sheet](https://raw.githubusercontent.com/benjamintanweihao/elixir-cheatsheets/master/Supervisor_CheatSheet.pdf). There are two topics left before we move on to the next chapter. From bd01f1f16ea1b43d5bce9f7876c89f9ae679963d Mon Sep 17 00:00:00 2001 From: Benjamin Tan Wei Hao Date: Fri, 30 Sep 2016 17:54:13 +0800 Subject: [PATCH 2/2] Fix typo --- getting-started/mix-otp/supervisor-and-application.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/mix-otp/supervisor-and-application.markdown b/getting-started/mix-otp/supervisor-and-application.markdown index ba83043f4..b7ba122ac 100644 --- a/getting-started/mix-otp/supervisor-and-application.markdown +++ b/getting-started/mix-otp/supervisor-and-application.markdown @@ -366,7 +366,7 @@ Now, if the registry worker crashes, both the registry and the "rest" of `KV.Sup There are other strategies and other options that could be given to `worker/2`, `supervisor/2` and `supervise/2` functions, so don't forget to check both [`Supervisor`](/docs/stable/elixir/Supervisor.html) and [`Supervisor.Spec`](/docs/stable/elixir/Supervisor.Spec.html) modules. -To help developers remember how to work with Supervisors and it's convenience functions, [Benjamin Tan Wei Hao](http://benjamintan.io/) has created a [Supervisor cheat sheet](https://raw.githubusercontent.com/benjamintanweihao/elixir-cheatsheets/master/Supervisor_CheatSheet.pdf). +To help developers remember how to work with Supervisors and its convenience functions, [Benjamin Tan Wei Hao](http://benjamintan.io/) has created a [Supervisor cheat sheet](https://raw.githubusercontent.com/benjamintanweihao/elixir-cheatsheets/master/Supervisor_CheatSheet.pdf). There are two topics left before we move on to the next chapter.