Skip to content

Instantly share code, notes, and snippets.

@elbrujohalcon
Created October 7, 2017 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elbrujohalcon/b1ea43ab7a7fae2ae8fa4a327417c96d to your computer and use it in GitHub Desktop.
Save elbrujohalcon/b1ea43ab7a7fae2ae8fa4a327417c96d to your computer and use it in GitHub Desktop.
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