Module erlang_notifier_app

Application callback.

Behaviours: application.

Description

Application callback. Boot order matters:
  1. load configuration from the environment;
  2. declare Prometheus metrics (the logger handler counts events from here on);
  3. start the delivery pools, so the first event has somewhere to go;
  4. start the supervisor (DB pool, provider credential caches);
  5. run migrations, if the token store is enabled;
  6. start the AMQP consumers, if enabled — after migrations, so no event queries a missing table;
  7. start the HTTP listener.

Function Index

start/2
stop/1

Function Details

start/2

start(Type, Args) -> any()

stop/1

stop(State) -> any()


Generated by EDoc