langchain_core.callbacks.manager.shielded¶

langchain_core.callbacks.manager.shielded(func: Func) Func[source]¶

Makes so an awaitable method is always shielded from cancellation

Parameters

func (Func) –

Return type

Func