diff --git a/src/slurminade/dispatcher.py b/src/slurminade/dispatcher.py index 92171ba..cc3d9a6 100644 --- a/src/slurminade/dispatcher.py +++ b/src/slurminade/dispatcher.py @@ -92,6 +92,7 @@ def __call__( self, funcs: typing.Union[FunctionCall, typing.Iterable[FunctionCall]], options: SlurmOptions, + block: bool = False, ) -> int: """ Dispatches a function call or a number of function calls. @@ -103,7 +104,7 @@ def __call__( funcs = [funcs] funcs = list(funcs) self._log_dispatch(funcs, options) - return self._dispatch(funcs, options) + return self._dispatch(funcs, options, block) def is_sequential(self): """