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

    Function tryGetResetFunc

    • Attempts to retrieve an optional reset_data or resetData function from the agent module.

      Parameters

      • agentModuleFilePath: string

        File or directory path to the agent module.

      Returns Promise<(() => void | Promise<void>) | undefined>

      The reset function if exported, or undefined.