|Did you know ...
The wait is associated with a module. This module is derived from the Options argument.
The Options list specifies when Goal is re-evaluated and optionally when the call terminates due to a timeout.
is not provided.
is read as /(+(p),1)., Goal is only triggered if
a clause was added (assert/1).
If the element is
, Goal is
only triggered if a clause was retracted (retract/1
Default is to wakeup on both assert and retract.
option that have been modified.
List must be unbound at entry.
The execution of Goal is synchronized between all threads calling this predicate on the same module, changes to dynamic predicates in this module and calls to thread_update/2 on the same module.
This predicate raises a
permision_error exception when
called recursively or called from inside a transaction. See
section 188.8.131.52 for
details about interaction with transactions.