summaryrefslogtreecommitdiff
path: root/src/delegate.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/delegate.erl')
-rw-r--r--src/delegate.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delegate.erl b/src/delegate.erl
index 460a48996f..dad2dd3c9b 100644
--- a/src/delegate.erl
+++ b/src/delegate.erl
@@ -42,9 +42,9 @@
[{pid(), term()}]}).
-spec(invoke_no_result/2 ::
(pid() | [pid()], fun ((pid()) -> any())) -> 'ok').
--spec(monitor/2 :: (any(), pid()) -> monitor_ref()).
+-spec(monitor/2 :: ('process', pid()) -> monitor_ref()).
-spec(demonitor/1 :: (monitor_ref()) -> 'true').
--spec(demonitor/2 :: (monitor_ref(), [any()]) -> 'true').
+-spec(demonitor/2 :: (monitor_ref(), ['flush']) -> 'true').
-spec(call/2 ::
( pid(), any()) -> any();