HH\Lib\Experimental\Debug\dump_to_async

Facebook Engineer?

This function is available as HH\Lib\Experimental\Debug\gen_dump_to() in Facebook's www repository.

Print a human-readable representation of a value to the specified stream

namespace HH\Lib\Experimental\Debug;

function dump_to_async(
  mixed $value,
  \HH\Lib\Experimental\IO\WriteHandle $handle,
): Awaitable<void>;

Parameters

  • mixed $value
  • \HH\Lib\Experimental\IO\WriteHandle $handle

Returns