HH\Lib\Async\Poll::from

Meta Engineer?

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

Create a Poll from the specified list of awaitables

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

See KeyedPoll if you have a KeyedTraversable and want to preserve keys.

Parameters

Returns

  • this