| Did you know ... | Search Documentation: | 
|  | Predicate bind/4 | 
 [det]bind(+Elem, 
+EventType, -Event, :Goal)
[det]bind(+Elem, 
+EventType, -Event, :Goal)
The bind_async/4 
variation runs the event handler on a new Prolog
engine using Prolog.forEach(). This implies that the 
handler runs asynchronously and all its solutions are enumerated.
 [det]bind(+Elem, 
+EventType, -Event, :Goal)
[det]bind(+Elem, 
+EventType, -Event, :Goal)
The bind_async/4 
variation runs the event handler on a new Prolog
engine using Prolog.forEach(). This implies that the 
handler runs asynchronously and all its solutions are enumerated.