gen_server:init/1 is optional (18+)

Loïc Hoguin <[email protected]> Thu, 16 Apr 2015 12:45:25 +0300
Newsgroups gmane.comp.lang.erlang.bugs
Organization Nine Nines
Message-ID <[email protected]>
Hello,

gen_server:init/1 is an optional callback and should be marked as such 
in Erlang 18+ now that it has -optional_callbacks.

It is optional because of enter_loop. It is currently not possible to 
use -behavior(gen_server) when you need to use enter_loop.

Cheers,

-- 
Loïc Hoguin
http://ninenines.eu
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs