Add mod_opt_type/1 callback to gen_mod behaviour

This commit is contained in:
Holger Weiss 2016-05-01 22:09:40 +02:00
parent b46ed7044a
commit d54f211514
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@
-callback start(binary(), opts()) -> any().
-callback stop(binary()) -> any().
-callback mod_opt_type(atom()) -> fun((term()) -> term()) | [atom()].
-export_type([opts/0]).
-export_type([db_type/0]).