HH\Lib\Unix\connect_async
Requires the Hack Standard Library - Experimental Additions to be installed.
Asynchronously connect to the specified unix socket
namespace HH\Lib\Unix;
function connect_async(
string $path,
ConnectOptions $opts = array (
),
): Awaitable<CloseableSocket>;
Parameters
string $path
ConnectOptions $opts = array ( )