langchain_core.runnables.config.get_executor_for_config¶

langchain_core.runnables.config.get_executor_for_config(config: Optional[RunnableConfig]) Generator[Executor, None, None][source]¶

Get an executor for a config.

Parameters

config (RunnableConfig) – The config.

Yields

Generator[Executor, None, None] – The executor.

Return type

Generator[Executor, None, None]