3 -callback
new(Config
:: term()) -> term().
4 -callback
id(Config
:: term()) ->
5 {Ip
:: list() | tuple(), Port
:: integer() } | atom().
6 -callback
prep(Event
:: term()) -> term().
7 -callback
emit(Config
:: term(), Event
:: term()) -> ok
| {error
, atom()}.
8 -callback
close(Config
:: term()) -> ok
.