This code is used in conjunction with a blogpost I wrote about handle_continue in Elixir. You can read it here for more information.
The four examples are each self-contained applications. To run them, change the mod:
in the mix.exs file to the application you want to run, and then run with mix run --no-halt
.
The .tool-versions file is for ASDF, which I use for version management of my Elixir apps. The handle_continue
functionality was introduced in OTP 21, and for this repo I used Elixir 1.6 along with Erlang 21.1.
If you are looking for the proper way to do asynchronous initaliztion, skip right to application_handle_continue.ex