|Did you know ...||Search Documentation:|
|Pack rdf_notification -- prolog/rdf_notification.pl|
Topicwhich could be
object. When assert, retract or update event happens on the topic,
Callbackwill be invoked. Upon successful subscription,
SubscriberIdwill be unified and can be later on used to unsubscribe.
Callbackshould be prefixed with a module name.
It is highly NOT recommended to do any intensive or long time computation in
however if that is required, a separated thread must be used.
Supported options are:
object, indicating what to subscribe.
Topicshould also be monitored. The default value is
falseand it's only applicable when
subject. For example if
aand this option is
true, and there is a triple =
rdf(a, b, c)= already in database, =
rdf_assert(c, d, e)= will trigger a callback to subscribers of
N.B. subscribing to the same
Topic with the same
Options will result a new
subscribers without having any impact on the existing one. If this is not the wanted result,
unsubscribe existing one first.
SubscriberId. Unsubscribing a non-existing subscriber does not have any impact.
The following predicates are exported, but not or incorrectly documented.