Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Examples for my Blog
-module(base_server).
-type state() :: #{_ => _}.
-export([handle_info/2]).
-spec handle_info(term(), state()) -> {noreply, state()}.
handle_info(Msg, State) ->
error_logger:warning_msg("Unexpected Message: ~p", [Msg]),
{noreply, State}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment