Get result of an already finished Awaitable
namespace HH\Asio; function result<T>( Awaitable<T> $awaitable, ): T;
Throws an InvalidOperationException if the Awaitable is not finished.
Awaitable<T> $awaitable
T