before(Object, Message, Sender)
User-defined method for handling before
events. This method is declared in the monitoring
built-in protocol as a public predicate. Note that you can make its scope protected or private by using, respectively, protected or private implementation of the monitoring
protocol.
before(?object_identifier, ?callable, ?object_identifier)
(none)
:- object(..., implements(monitoring), ...). before(Object, Message, Sender) :- writeq(Object), write('::'), writeq(Message), write(' from '), writeq(Sender), nl.