langchain_core.runnables.utils
.is_async_callable¶
- langchain_core.runnables.utils.is_async_callable(func: Any) TypeGuard[Callable[[...], Awaitable]] [source]¶
检查函数是否是异步的。
- Parameters
func (Any) –
- Return type
TypeGuard[Callable[[…], Awaitable]]