There is frighteningly little strict API documentation (read: ZERO) for multiprocessing.pool.ApplyResult
. The multiprocessing explanation doc talks about ApplyResult
s, but does not define them.
The same appears to apply to multiprocessing.pool.Pool
, although the Python multiprocessing guide appears to cover it better.
Even the ApplyResult
help()
results are paltry:
| get(self, timeout=None)
|
| ready(self)
|
| successful(self)
|
| wait(self, timeout=None)
Get()
andReady()
I get. Those are fine.I have absolutely no idea what
wait()
is for, given that you are dealing with a "pool", which one would assume would waits for you in theget()
call. Is this "wait for the result, but don't get it now" Or is it an OS-style wait? And if so, what would that even mean?I am equally unsure of what
successful()
is all about.