diff options
author | crownedgrouse <[email protected]> | 2014-12-16 23:17:10 +0100 |
---|---|---|
committer | crownedgrouse <[email protected]> | 2015-01-17 00:04:35 +0100 |
commit | 23a850984539ed86d9df102fb40bd6eecd7fdac7 (patch) | |
tree | f936ca879677591fb09d1e4a6a5082f80bf7d2e8 /lib/mnesia/doc/src/mnesia.xml | |
parent | d7f10591bca66cc22b3d56d831373717708abf8a (diff) | |
download | otp-23a850984539ed86d9df102fb40bd6eecd7fdac7.tar.gz otp-23a850984539ed86d9df102fb40bd6eecd7fdac7.tar.bz2 otp-23a850984539ed86d9df102fb40bd6eecd7fdac7.zip |
Fix xml doc return value mnesia:(un)subscribe
Diffstat (limited to 'lib/mnesia/doc/src/mnesia.xml')
-rw-r--r-- | lib/mnesia/doc/src/mnesia.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml index 72e9bd7e8f..3e3ec42890 100644 --- a/lib/mnesia/doc/src/mnesia.xml +++ b/lib/mnesia/doc/src/mnesia.xml @@ -2188,12 +2188,13 @@ mnesia:create_table(employee, </desc> </func> <func> - <name>subscribe(EventCategory)</name> + <name>subscribe(EventCategory) -> {ok, Node} | {error, Reason} </name> <fsummary>Subscribe to events of type <c>EventCategory</c>.</fsummary> <desc> <p>Ensures that a copy of all events of type <c>EventCategory</c> are sent to the caller. The event - types available are described in the Mnesia User's Guide.</p> + types available are described in the Mnesia User's Guide at <seealso marker="Mnesia_chap5#event_handling">Mnesia Event Handling</seealso>.</p> + <p><c>Node</c> is the local node. For table events to be subscribed, mnesia must have a readable local copy of the table on the node.</p> </desc> </func> <func> @@ -2861,11 +2862,12 @@ raise(Name, Amount) -> </desc> </func> <func> - <name>unsubscribe(EventCategory)</name> + <name>unsubscribe(EventCategory) -> {ok, Node} | {error, Reason} </name> <fsummary>Subscribe to events of type <c>EventCategory</c>.</fsummary> <desc> <p>Stops sending events of type <c>EventCategory</c> to the caller.</p> + <p><c>Node</c> is the local node.</p> </desc> </func> <func> |