This is an archive of the discontinued Mercurial Phabricator instance.

worker: support parallelization of functions with return values
ClosedPublic

Authored by valentin.gatienbaron on Jun 12 2019, 1:25 PM.

Details

Summary

Currently worker supports running functions that return a progress
iterator. Generalize it to handle function that return a progress
iterator then a return value.

It's unused in this commit, but will be used in the next one.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.