HH\Lib\IO\pipe_nd
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as IO\pipe_nd()
in Facebook's www repository.
Create a pair of handles, where writes to the WriteHandle
can be
read from the ReadHandle
namespace HH\Lib\IO;
function pipe_nd(): (CloseableReadHandle, CloseableWriteHandle);
Returns
(CloseableReadHandle, CloseableWriteHandle)