Current section
Files
Jump to
Current section
Files
src/macula_neuroevolution_app.erl
%% @doc OTP Application module for macula_neuroevolution.
%%
%% This module implements the OTP application behaviour and is responsible
%% for starting the application supervisor.
%%
%% @author Macula.io
%% @copyright 2025 Macula.io
-module(macula_neuroevolution_app).
-behaviour(application).
%% Application callbacks
-export([start/2, stop/1]).
%%% ============================================================================
%%% Application Callbacks
%%% ============================================================================
%% @doc Start the application.
-spec start(StartType, StartArgs) -> {ok, pid()} | {error, term()} when
StartType :: normal | {takeover, node()} | {failover, node()},
StartArgs :: term().
start(_StartType, _StartArgs) ->
macula_neuroevolution_sup:start_link().
%% @doc Stop the application.
-spec stop(State) -> ok when
State :: term().
stop(_State) ->
ok.