From 23a850984539ed86d9df102fb40bd6eecd7fdac7 Mon Sep 17 00:00:00 2001 From: crownedgrouse Date: Tue, 16 Dec 2014 23:17:10 +0100 Subject: Fix xml doc return value mnesia:(un)subscribe --- lib/mnesia/doc/src/Mnesia_chap5.xmlsrc | 1 + lib/mnesia/doc/src/mnesia.xml | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/mnesia/doc/src/Mnesia_chap5.xmlsrc b/lib/mnesia/doc/src/Mnesia_chap5.xmlsrc index 65b950bd46..127c23e0f7 100644 --- a/lib/mnesia/doc/src/Mnesia_chap5.xmlsrc +++ b/lib/mnesia/doc/src/Mnesia_chap5.xmlsrc @@ -867,6 +867,7 @@ ok
+ Mnesia Event Handling

System events and table events are the two categories of events that Mnesia will generate in various situations. 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, - subscribe(EventCategory) + subscribe(EventCategory) -> {ok, Node} | {error, Reason} Subscribe to events of type EventCategory.

Ensures that a copy of all events of type EventCategory are sent to the caller. The event - types available are described in the Mnesia User's Guide.

+ types available are described in the Mnesia User's Guide at Mnesia Event Handling.

+

Node is the local node. For table events to be subscribed, mnesia must have a readable local copy of the table on the node.

@@ -2861,11 +2862,12 @@ raise(Name, Amount) -> - unsubscribe(EventCategory) + unsubscribe(EventCategory) -> {ok, Node} | {error, Reason} Subscribe to events of type EventCategory.

Stops sending events of type EventCategory to the caller.

+

Node is the local node.

-- cgit v1.2.3