Elixir - Behaviour


BM
behaviour module
CM
callback module
FCM
facade callback module

  1. https://hexdocs.pm/elixir/behaviours.html
  2. https://hexdocs.pm/elixir/Application.html

NOTE: the classification below is purely mine.

usage

in all cases specific CM is usually fetched from environment at compile time (using Application.get_env/3):

behaviour module (BM)

callback module (CM)