HH\Lib\Keyset\from_async

This API is part of the Hack Standard Library, not HHVM itself.
Facebook Engineer?

This function is available as Keyset\gen() in Facebook's www repository.

Returns a new keyset containing the awaited result of the given Awaitables

Description

namespace HH\Lib\Keyset;

function from_async<Tv as arraykey>(
  Traversable<Awaitable<Tv>> $awaitables,
): Awaitable<keyset<Tv>>;

Parameters