Files
klz-cables.com/.pnpm-store/v10/files/15/8df1b4f07aecb6c306ebc02ec2511bec4ef9501d5c7f596c68ffba5620fc10e5d1066ebf6196b6c2a58a872214fb3e55d42a2251fc7edc523874c4be3887b3
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

15 lines
827 B
Plaintext

import type { Span } from '../../types-hoist/span';
import type { AnthropicAiStreamingEvent } from './types';
/**
* Instruments an async iterable stream of Anthropic events, updates the span with
* streaming attributes and (optionally) the aggregated output text, and yields
* each event from the input stream unchanged.
*/
export declare function instrumentAsyncIterableStream(stream: AsyncIterable<AnthropicAiStreamingEvent>, span: Span, recordOutputs: boolean): AsyncGenerator<AnthropicAiStreamingEvent, void, unknown>;
/**
* Instruments a MessageStream by registering event handlers and preserving the original stream API.
*/
export declare function instrumentMessageStream<R extends {
on: (...args: unknown[]) => void;
}>(stream: R, span: Span, recordOutputs: boolean): R;
//# sourceMappingURL=streaming.d.ts.map