GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — tryGetResetFunc | ADK for TypeScript: API Reference - v2.5.0

  • tryGetResetFunc

Function tryGetResetFunc

  • tryGetResetFunc(
        agentModuleFilePath: string,
    ): Promise<(() => void | Promise<void>) | undefined>

    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.

    • Defined in core/src/cli/cli_eval.ts:316
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.