boltun v1.0.0 API Reference

Modules

Provides macros to define a listener and its callbacks. See the example below

Stores the callback to be executed by a listener. The functions defined here should only be invoked by a listener, since it also takes care of sending the LISTEN/UNLISTEN commands to the connection

Listens to Postgrex notifications and invokes the registed callbacks