-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsmall_server_1_1_1_2_2.erl
39 lines (34 loc) · 1.44 KB
/
small_server_1_1_1_2_2.erl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%%% ------------------------------------------------------------------------------------------------
%%% File : small_server_1_1_1_2_2.erl
%%% Purpose : Testing the template.
%%% Created : Sunday, May 23 2021.
%%% Author : Pierre Rouleau <[email protected]>
%%% Time-stamp: <2021-05-23 02:36:42, updated by Pierre Rouleau>
%%% Copyright © 2021, Pierre Rouleau
%%% License : MIT
%%% ------------------------------------------------------------------------------------------------
%%% Module Description: Testing the template.
%%%
%%% [
% This text inside the square brackets is normally NOT generated by the template!
% It is here only to show the value of the user-options used to generate the content.
% This file was generated by the test function: pel--erlang-all-sk-file-header
% This file was generated with the following user-options values:
% - pel-erlang-skel-use-separators : t
% - pel-erlang-skel-use-secondary-separators : t
% - pel-erlang-skel-insert-file-timestamp : t
% - pel-erlang-skel-with-license : "MIT"
% - pel-erlang-skel-with-edoc : in-function-only
% ]
%%% ================================================================================================
-module(small_server_1_1_1_2_2).
-export([start/0, init/1]).
start() ->
spawn(small_server_1_1_1_2_2, init, [self()]).
init(From) ->
loop(From).
loop(From) ->
receive
_ ->
loop(From)
end.