MCPcopy Create free account
hub / github.com/BerriAI/litellm / completed_future

Function completed_future

litellm-rust/crates/host-python/src/runtime.rs:254–259  ·  view source on GitHub ↗
(
        py: Python<'py>,
        value: Bound<'py, PyAny>,
    )

Source from the content-addressed store, hash-verified

252
253 #[pyfunction]
254 fn completed_future<'py>(
255 py: Python<'py>,
256 value: Bound<'py, PyAny>,
257 ) -> PyResult<Bound<'py, PyAny>> {
258 ready_future(py, &value)
259 }
260
261 #[rstest]
262 fn a_ready_future_preserves_identity_and_the_callers_loop(

Callers

nothing calls this directly

Calls 1

ready_futureFunction · 0.85

Tested by

no test coverage detected