Guest User

Untitled

a guest
Jan 24th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. defmodule Bank.Application do
  2. use Application
  3.  
  4. def start(_type, _args) do
  5. import Supervisor.Spec, warn: false
  6.  
  7. children = [
  8. supervisor(Bank.Store, [:store])
  9. ]
  10.  
  11. opts = [strategy: :one_for_one, name: Bank.Supervisor]
  12. Supervisor.start_link(children, opts)
  13. end
  14. end
Add Comment
Please, Sign In to add comment