HH\Lib\IO\pipe

Meta Engineer?

This is available as IO\pipe in the www repository.

Create a pair of handles, where writes to the WriteHandle can be read from the ReadHandle

namespace HH\Lib\IO;

function pipe(): (CloseableReadFDHandle, CloseableWriteFDHandle);

Returns

  • (CloseableReadFDHandle, CloseableWriteFDHandle)