Add mod_opt_type/1 callback to gen_mod behaviour
This commit is contained in:
parent
b46ed7044a
commit
d54f211514
|
@ -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]).
|
||||
|
|
Loading…
Reference in New Issue