class

OpenAI::SSEIterator

Inherits Iterator < Enumerable < Reference < Object

Iterator for SSE events from an HTTP response

Constructors

new(io : IO)
Source

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source