HH\Lib\Experimental\Unix\connect_nd_async

Facebook Engineer?

This function is available as HH\Lib\Experimental\Unix\gen_connect_nd() in Facebook's www repository.

Asynchronously connect to the specified unix socket, returning a non-disposable handle

namespace HH\Lib\Experimental\Unix;

function connect_nd_async(
  string $path,
  ConnectOptions $opts = array (
),
): Awaitable<CloseableSocket>;

Parameters

  • string $path
  • ConnectOptions $opts = array ( )

Returns