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

    函数:findEventByFunctionCallId

    • 查找该事件之前的最新事件。 endIndex 该代码片段包含一个函数调用,该函数调用的 ID 是指定的值。

      参数

      • 事件: 事件[]
      • functionCallId: string
      • endIndex: 数字 = events.length

      返回值 事件 | `undefined`