HH\Lib\Async\KeyedPoll::from

Facebook Engineer?

The containing class is available as Async\KeyedPoll in the www repository.

Create a KeyedPoll from the specified list of awaitables

public static function from(
  KeyedTraversable<Tk, Awaitable<Tv>> $awaitables,
): this;

See Poll if keys are unimportant.

Parameters

Returns

  • this