Tyr Admission Controller - v0.36.1
    Preparing search index...

    Function recordableStreamResponse

    • Reads the id and size from the response object of a stream lifecycle event. A stream can end early, so this needs evidence that the response is finished: a final status, or, when the response has no status, a final event type. Usage on any earlier event would record too small a size.

      Parameters

      • value: unknown
      • eventType: unknown

      Returns { id: string; tokens: number } | undefined