HH\AsyncKeyedIterator::next

Move the async iterator to the next Awaitable position

Description

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.

Return Values