Home / Function/ wait_for_futures() — langchain Function Reference

wait_for_futures() — langchain Function Reference

Architecture documentation for the wait_for_futures() function in evaluation.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  0ece466d_c5f2_7e8f_ed12_9492fc042332["wait_for_futures()"]
  d98d30f4_d5fd_24fc_54d0_e2f82eecc3cd["EvaluatorCallbackHandler"]
  0ece466d_c5f2_7e8f_ed12_9492fc042332 -->|defined in| d98d30f4_d5fd_24fc_54d0_e2f82eecc3cd
  9932f6eb_83b3_fe9b_78e2_3652b16017fc["wait_for_all_evaluators()"]
  9932f6eb_83b3_fe9b_78e2_3652b16017fc -->|calls| 0ece466d_c5f2_7e8f_ed12_9492fc042332
  style 0ece466d_c5f2_7e8f_ed12_9492fc042332 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tracers/evaluation.py lines 224–226

    def wait_for_futures(self) -> None:
        """Wait for all futures to complete."""
        wait(self.futures)

Domain

Subdomains

Frequently Asked Questions

What does wait_for_futures() do?
wait_for_futures() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/evaluation.py.
Where is wait_for_futures() defined?
wait_for_futures() is defined in libs/core/langchain_core/tracers/evaluation.py at line 224.
What calls wait_for_futures()?
wait_for_futures() is called by 1 function(s): wait_for_all_evaluators.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free