nova (nova v0.8.1) View Source
Link to this section Summary
Functions
Checks if a nova application is loaded
Works as the regular application:get_env/3 but instead of giving a specific application we target the application that started nova.
Returns the name of the main bw-application (The one that started everything)
Sets an environment variable for the main application.
Link to this section Types
Specs
state() :: any().
Link to this section Functions
Specs
application_loaded(Application :: atom()) -> boolean().
Specs
get_env(Parameter :: atom(), Default :: any()) -> term() | undefined.
Specs
get_main_app() -> {ok, Application :: atom()} | undefined.
Specs
set_env(Key :: atom(), Value :: any()) -> ok | {error, main_app_not_found}.