Facebook Engineer?
This is available as IO\pipe_nd
in the www repository.
Deprecated: use pipe() instead
namespace HH\Lib\IO;
function pipe_nd(): (CloseableReadFDHandle, CloseableWriteFDHandle);
Returns
(CloseableReadFDHandle, CloseableWriteFDHandle)