Packages

Simple implementation of prevalence in Elixir, this project is based on prevayler project (https://github.com/jsampson/prevayler.git).

Current section

Files

Jump to
prevayler_iex lib app.ex
Raw

lib/app.ex

defmodule Prevalent.App do
@moduledoc ""
use Application
def start(_type, _args) do
import Supervisor.Spec
tree = [
worker(Prevalent.SystemApi, [%{}, [name: :prevalent_system]])
]
opts = [name: Prevalent.Sup, strategy: :one_for_one]
Supervisor.start_link(tree, opts)
end
end