HH\Lib\Experimental\Debug\tap_async

Print a human-readable representation of a value, and return it

namespace HH\Lib\Experimental\Debug;

function tap_async<T>(
  T $value,
): Awaitable<T>;

The request stream is used if it is available; otherwise, request output is used instead.

This is the HTTP response for HTTP requests, or STDERR for CLI.

Parameters

  • T $value

Returns