Ask a question to get started
Enter to sendā¢Shift+Enter new line
run_in_executor( executor_or_config: Executor | RunnableConfig | None, func: Callable[P, T]
executor_or_config
Executor | RunnableConfig | None
The executor or config to run in.
func
Callable[P, T]
The function.
*args
P.args
()
**kwargs
P.kwargs
{}
Run a function in an executor.
The positional arguments to the function.
The keyword arguments to the function.