Skip to content

v0.1.1

Choose a tag to compare

@dannote dannote released this 18 Sep 08:26
· 19 commits to master since this release
  • Jev.Server accepts {:ok, state, timeout | {:continue, term}} from init/1. Previously the
    extra element was passed through unwrapped and the first callback crashed.
  • terminate/2 and code_change/3 are delegated to the callback module when defined.
  • use Jev.Server takes child spec options such as restart: and shutdown:, as use GenServer does.
  • Default handle_call/3 and handle_cast/2 stop the server with GenServer's "no clause was
    provided" error instead of an UndefinedFunctionError, and the default handle_info/2 logs
    the unexpected message instead of dropping it silently.

Hex: https://hex.pm/packages/jev/0.1.1