Class ClientExecutor
A concurrent.futures Executor that executes tasks on a dask.distributed Client.
Declaration
class ClientExecutor(cf.Executor)
source linkDocumentation
Methods
▶ def map(self, fn, *iterables, **kwargs) Returns an iterator equivalent to ``map(fn, *iterables)``.
Parameters
Returns
- ``map(fn, *iterables)`` but the calls may
Raises
▶ def shutdown(self, wait=True) Clean-up the resources associated with the Executor.
It is safe to call this method several times. Otherwise, no other
methods can be called after this one.
Parameters
▶ def submit(self, fn, *args, **kwargs) Submits a callable to be executed with the given arguments.
Schedules the callable to be executed as ``fn(*args, **kwargs)``
and returns a Future instance representing the execution of the callable.
Returns
- A Future representing the given call.
Reexports