HH\Lib\Unix\connect_async

Facebook Engineer?

This is available as Unix\connect_async in the www repository.

Asynchronously connect to the specified unix socket

namespace HH\Lib\Unix;

function connect_async(
  string $path,
  ConnectOptions $opts = dict [
],
): Awaitable<CloseableSocket>;

Parameters

  • string $path
  • ConnectOptions $opts = dict [ ]

Returns