summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rexi_monitor.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rexi_monitor.erl b/src/rexi_monitor.erl
index b4c00f23..7e16048c 100644
--- a/src/rexi_monitor.erl
+++ b/src/rexi_monitor.erl
@@ -4,7 +4,8 @@
-include_lib("eunit/include/eunit.hrl").
%% @doc spawn_links a process which monitors the supplied list of items and
-%% returns the process ID.
+%% returns the process ID. If a monitored process exits, the caller will
+%% receive a {rexi_DOWN, MonitoringPid, DeadPid, Reason} message.
-spec start([pid() | atom() | {atom(),atom()}]) -> pid().
start(Procs) ->
Parent = self(),