The containing class is available as IO\BufferedReader in the www repository.
IO\BufferedReader
Read a line or throw EPIPE
public function readLinexAsync(): Awaitable<string>;
Awaitable<string>