Packages

The Bloodbath Erlang library provides convenient access to the Bloodbath API from applications written in the Erlang language.

Current section

Files

Jump to
bloodbath src bloodbath_app.erl
Raw

src/bloodbath_app.erl

%% @doc bloodbath public API
-module(bloodbath_app).
-behaviour(application).
-export([start/2, stop/1]).
-spec start(atom(), list()) -> {ok, pid()}.
start(_StartType, _StartArgs) ->
bloodbath_sup:start_link().
-spec stop(atom()) -> ok.
stop(_State) ->
ok.