File size: 747 Bytes
9425aed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%%%-------------------------------------------------------------------
%% @doc Sovereign Event Bus Application Module
%%
%% Provides application startup/shutdown hooks for SEB.
%%
%% @end
%%%-------------------------------------------------------------------
-module(seb_app).
-behaviour(application).

-export([start/2, stop/1]).

%%%===================================================================
%%% Application Callbacks
%%%===================================================================

%% @doc Start the SEB application
-spec start(term(), term()) -> {ok, pid()}.
start(_StartType, _StartArgs) ->
    seb_sup:start_link().

%% @doc Stop the SEB application
-spec stop(term()) -> ok.
stop(_State) ->
    ok.