UNPKG

@yoyo-org/progressive-json

Version:

Stream and render JSON data as it arrives - perfect for AI responses, large datasets, and real-time updates

5 lines (4 loc) 332 B
import { type PlaceholderStore } from "./resolve-placeholder"; import { Processor } from "./processor"; import type { StreamProcessorOptions } from "./resolve-placeholder"; export declare function fetchSSEWithAuth<T extends PlaceholderStore>(url: string, processor: Processor<T>, options: StreamProcessorOptions<T>): Promise<void>;