Created
March 27, 2017 10:24
-
-
Save samueljmurray/8cbf1e5554318e5dcc246cd852fbf2b3 to your computer and use it in GitHub Desktop.
App supervisor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def start(_type, _args) do | |
| import Supervisor.Spec | |
| children = [ | |
| worker(GuardianDb.ExpiredSweeper, []) | |
| # ... | |
| ] | |
| Supervisor.start_link(children, [...]) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment