but this predicate is local to the calling thread (see thread_local/1).
This hook is called beforemessage_hook/3.
The‘pre-hook' is indented to catch messages they may be produced
by calling some goal without affecting other threads.
Tag confusing pages with doc-needs-help|Tags are associated to your profile if you are logged in