videosphere
    Preparing search index...

    Function parseSseLine

    • Parses a single SSE data: line and returns a typed result.

      Parameters

      • line: string

        A raw SSE line, e.g. "data: {...}" or "data: [DONE]".

      Returns SseLineResult

      null if the line is not a data: line (e.g. comment, empty).