function is evaluated only when it is called from apply but not when it is called from apply_async
multiprocessing.Pool: When to use apply, apply_async or map?
making the Python function default value be evaluated each time the function is called Pandas apply - Re-using apply result to save time Python's multiprocessing: speed up a for-loop for several sets of parameters, "apply" vs. "apply_async" What is the equivalent in apply_async? Multiprocessing pool apply_async python multiprocessing apply_async only uses one process How do you apply 'or' to all values of a list in Python? map_async vs apply_async:what should I use in this case Apply function to some values in list apply_async callback function not being called How can I apply a function one column at a time? Python: Working with Pool, apply_async and join Am I using python's apply_async correctly? Multiprocessing in Python: how to implement a loop over "apply_async" as "map_async" using a callback function How to get the result of multiprocessing.Pool.apply_async How to give Python requests headers to apply_async? How to apply a function to only one row Using apply on a column Multiprocessing pool 'apply_async' only seems to call function once A function, to apply a function to a list Apply a method to an object of another class Not able to use pool.apply_async() How to apply a for loop to a string in Python Apply function to one element of a list in Python pool.apply_async with multiple parameters Apply function to each element of a list Python Multiprocessing apply_async Only Using One Process Python - apply_async doesn't execute function Can I pass a method to apply_async or map in python multiprocessing?