ADK for TypeScript: API Reference
    Preparing search index...

    函数:tryGetResetFunc

    • 尝试获取一个可选的(即非强制性的)资源/数据…… reset_data 或者 resetData 该函数来自 `agent` 模块。

      参数

      • agentModuleFilePath: string

        代理模块所在的文件或目录路径。

      返回值 Promise<(() => void | Promise<void>) | `undefined`>

      如果该重置功能被导出(即被其他程序或系统使用),那么…… undefined.