summaryrefslogtreecommitdiff
path: root/src/delegate.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-07-04 14:56:48 +0100
committerSimon MacMullen <simon@rabbitmq.com>2013-07-04 14:56:48 +0100
commit3de186a95a8c81cd83b9b4c7e5a7aa5cfbc12f5f (patch)
treece623b195def168fdbf165c873a4575cbd689324 /src/delegate.erl
parentc70ac2c72afad9035bd7290208a5da6cb0595fb7 (diff)
downloadrabbitmq-server-3de186a95a8c81cd83b9b4c7e5a7aa5cfbc12f5f.tar.gz
Get amqqueu_process to montor via delegate too, tighten delegate specs, simplify pmon parameterisation.
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 460a4899..dad2dd3c 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();