Optionalclient: BaseGeminiNextGenAPIClientConverts this stream to a newline-separated ReadableStream of
JSON stringified values in the stream
which can be turned back into a Stream with Stream.fromReadableStream().
StaticfromGenerates a Stream from a newline-separated ReadableStream where each item is a JSON value.
Optionalclient: BaseGeminiNextGenAPIClientStaticfromSSEResponseOptionalclient: BaseGeminiNextGenAPIClient
Splits the stream into two streams which can be independently read from at different speeds.