Did you know ... | Search Documentation: |
PL_can_yield() |
TRUE
when called from inside a foreign predicate if
the query that (indirectly) calls this foreign predicate can yield using PL_yield_address().
Returns FALSE
when either there is no current query or the
query cannot yield.