HH\AsyncKeyedIterator::next

Move the async iterator to the next Awaitable position

public function next(): Awaitable<?(Tk, Tv)>;
foreach ($async_iter await $async_iter->next() $key=>$value)

The above is the longhand syntax for await as $key=>$value.

Returns