Closed JPFrancoia closed 9 years ago
duplicate of https://github.com/ross/requests-futures/issues/5, please take a look there
Ok thanks. I alos found a solution here actually: https://docs.python.org/3/library/asyncio-task.html
future.add_done_callback(functools.partial(print_result, "papa", "maman"))
Just a few minutes after I opened the issue..
Hi, I wonder if there is a way to give arguments to the callback through add_done_callback.
I would like to pass arguments, something like:
Is it possible ?
From what I read from the doc, it is not, but it would be very convenient: