EventManager v0.2.0 EventManager.Handler behaviour View Source

An event message is defined with the following format :

%{event: "event_name", payload: "data"}

The payload data can be of any type (integer, float, Map ...).

Link to this section Summary

Link to this section Functions

Specs

map_events([atom()]) :: map()

Specs

modules([atom()]) :: [atom()]
Link to this macro

subscriptions()

View Source (macro)

Link to this section Callbacks

Specs

subscriptions() :: any()