14/28
Part 4 of 6 · A pool and a coordinatorLearn and do

Stop when nothing is pending

pending on the small site, with equal fetch times:

Momentpending
at the start{ / }
/ finishes{ /a, /b }
/a and /b finish{ /c, /broken }
/c and /broken finish{ }: empty, the crawl is over
Predict

pending is empty. Can a fetch still be running somewhere?

Pick an answer above to see the rest
Predict

as_completed gets 3 futures, and the loop adds a fourth while it runs. How many come out of the loop?

Pick one to see what it prints.
Pick an answer above to see the rest