7.2.2.1. async_process

async_process(funcs, *args, executor=False, sol=None, callback=None, **kw)[source]

Execute func(*args) in an asynchronous parallel process.

Parameters:
  • funcs (list[callable]) – Functions to be executed.
  • args (tuple) – Arguments to be passed to first function call.
  • executor (str | bool) – Pool executor to run the function.
  • sol (schedula.utils.sol.Solution) – Parent solution.
  • callback (callable) – Callback function to be called after all function execution.
  • kw (dict) – Keywords to be passed to first function call.
Returns:

Functions result.

Return type:

object