It would be great to have the option to book a callback to be executed when the event loop has finished. Using OnPartialResult with everyNEvents=N or N-1 doesn’t work if running with multi-threaded enabled. The way I currently do this is by having a different thread check every 100ms whether res.IsReady() returns true, but this is a very ugly approach.
thank you very much for the feedback and sorry for the lack of replies.
I am not sure I understand the use case: the way I would do this is to just call whatever code you want to run at the end of the event loop after the call that starts the event loop.
For example:
some_rdf_result.GetValue() # triggers the event loop
end_of_event_loop_callback()
What am I missing?
Cheers and apologies for the huge latency on this,
Enrico