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?
joinallis documented:As you can see there are differences in functionalities. The biggest one is that
waitapplies to many things, whereasjoinallonly applies to greenlets. So the functionalities ofjoinallare taylored for greenlets.