hooks version 2.0.1, a generic plugin & hook system has been release will full support of elixir https://github.com/barrel-db/hooks
The Barrel Project is happy to announce the release of hooks version 2.0.1, will full support of Elixir
More details are available here: https://github.com/barrel-db/hooks#usage-in-elixir-applications
Also you can look at the tests: https://github.com/barrel-db/hooks/tree/master/test
Enjoy!
Read next Generate Dynamic Bang! Functions