How to detect if a module implemented genserver callbacks

You can use module_name.module_info[:attributes][:behaviour] for this.

4 Likes