llmwire - v2.2.0
    Preparing search index...

    Function parseSSE

    • Server-sent events: data: lines accumulate until a blank line dispatches them (joined with \n), event: names the frame, comments are skipped. A trailing frame with no blank line after it is dispatched at end of stream.

      Parameters

      • stream: AsyncIterable<string | Uint8Array>

      Returns AsyncGenerator<SseEvent, void, void>