:- use_module(library(broadcast)).
?- listen(Term, (writeln(Term),fail)). ?- broadcast(hello(world)). hello(world) true.