The first documentation's example waits for all spawned jobs to finish with:
gevent.joinall(jobs, timeout=2)
However, joinall is not documented but wait method is:
Wait for objects to become ready or for event loop to finish.
Do both methods have the same functionality and only differ in their implementations?
joinall
is documented:As you can see there are differences in functionalities. The biggest one is that
wait
applies to many things, whereasjoinall
only applies to greenlets. So the functionalities ofjoinall
are taylored for greenlets.