HH\Lib\Experimental\Debug\tap_async
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as HH\Lib\Experimental\Debug\gen_tap()
in Facebook's www repository.
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