The containing class is available as IO\BufferedReaderLineIterator in the www repository.
IO\BufferedReaderLineIterator
public function next(): Awaitable<?(mixed, string)>;
Awaitable<?(mixed,
string)>