classification
Title: Add callback parameter to concurrent.futures.Executor.map
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: aron.bordin
Priority: normal Keywords:

Created on 2017-03-26 01:18 by aron.bordin, last changed 2017-03-26 01:18 by aron.bordin.

Messages (1)
msg290502 - (view) Author: Aron Bordin (aron.bordin) * Date: 2017-03-26 01:18
I'm facing some situations where would be helpful to be able to add a default function callback when calling the Executor.map. So, when making calls with this command we could get the executor result easily.

I think that we could provide a callback parameter to the map function, that adds the callable to the future (similar to add_done_callback).
History
Date User Action Args
2017-03-26 01:18:34aron.bordincreate