Add c:GenServer.format_status/1 callback
Deprecate c:GenServer.format_status/2 callback to align with Erlang/OTP 25+
Module
13 changes across 10 versions
Changes by version
Add c:GenServer.format_status/1 callback
Deprecate c:GenServer.format_status/2 callback to align with Erlang/OTP 25+
Do not show warning when using super in GenServer.child_spec/1
Support the new handle_continue/2 callback on Erlang/OTP 21+
Warn if super is used in any of the GenServer callbacks
Do not override user own @opts attribute
Warn if init/1 is not defined in GenServer. This brings GenServer closer to the implementation in OTP and aligns all behaviours to require the init/1 callback
Log warn on default handle_info/2 implementation
Raise a more meaningful exit if you try to GenServer.call/3 yourself
Ensures cast/2 returns :ok if locally registered process is not found
Add GenServer.stop/1 for shutting down servers reliably
Add GenServer.whereis/1 that expands GenServer dispatches into a proper pid
GenServer now stops on unknown call/cast requests