HH\Lib\Async\Poll::from

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