foxes.engines.NumpyEngine.submit(f, *args, **kwargs)[source]

Submits a job to worker, obtaining a future

Parameters

f: Callable

The function f(*args, **kwargs) to be submitted

args: tuple, optional

Arguments for the function

kwargs: dict, optional

Arguments for the function

Returns

future: object

The future object