Availability:built-in
prolog_unlisten(+Channel,
:Closure)Remove matching closures registered with prolog_listen/3.
- Introduced in 8.1.9 (👉c3d497e) prolog_listen/2,3 and prolog_unlisten/2 to register hooks into the Prolog engine that allow trapping certain events. This replaces and generalises the undocumented prolog_event_hook/1 hook used by the debugger.