It's important to understand that `use GenServer` is not directly related to the behavior. It is a macro that calls GenServer.__using__ which happens to add @behaviour :gen_server to the current module as well as define default implementations for the callbacks.
For :gen_server2, you just have to do all that yourself. Otherwise it should work fine.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/7abdaf00-7021-4ddc-9b9e-6f3710b4bb19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.