Created
October 7, 2017 20:11
-
-
Save elbrujohalcon/b1ea43ab7a7fae2ae8fa4a327417c96d to your computer and use it in GitHub Desktop.
Examples for my Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-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