HH\Lib\Experimental\Unix\connect_async

Facebook Engineer?

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

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

namespace HH\Lib\Experimental\Unix;

function connect_async(
  string $path,
): Awaitable<DisposableSocket>;

Parameters

  • string $path

Returns