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