I dont mind that 10 visits need to happen before i get 10 results but if there are more pages to be visited (then maxConnection) the behavior is lagging. Both visited/result output appear suddenly after some long evaluation.
It would be desired to emit results as soon as they are available.
Right now, privately to overcome this problem, i store the toVisit urls collection and provide the urls in a managed size in onDocument that way i have to wait only for the next 10 results
code to reproduce
Once run, the output is like this
I dont mind that 10 visits need to happen before i get 10 results but if there are more pages to be visited (then maxConnection) the behavior is lagging. Both visited/result output appear suddenly after some long evaluation.
It would be desired to emit results as soon as they are available.
Right now, privately to overcome this problem, i store the
toVisit
urls collection and provide the urls in a managed size inonDocument
that way i have to wait only for the next 10 results