HH\Lib\IO\BufferedReader::readUntilxAsync

Meta Engineer?

The containing class is available as IO\BufferedReader in the www repository.

Read until the suffix, or raise EPIPE if the separator is not seen

public function readUntilxAsync(
  string $suffix,
): Awaitable<string>;

This is similar to readUntilAsync(), however it raises EPIPE instead of returning null.

Parameters

  • string $suffix

Returns