HH\Lib\IO\BufferedReader::readUntilxAsync

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