HH\Lib\TCP\connect_nd_async
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as TCP\gen_connect_nd()
in Facebook's www repository.
Deprecated: Use connect_async() instead
namespace HH\Lib\TCP;
function connect_nd_async(
string $host,
int $port,
ConnectOptions $opts = array (
),
): Awaitable<CloseableSocket>;
Parameters
string $host
int $port
ConnectOptions $opts = array ( )