Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule Bank.Application do
- use Application
- def start(_type, _args) do
- import Supervisor.Spec, warn: false
- children = [
- supervisor(Bank.Store, [:store])
- ]
- opts = [strategy: :one_for_one, name: Bank.Supervisor]
- Supervisor.start_link(children, opts)
- end
- end
Add Comment
Please, Sign In to add comment