The containing class is available as Async\Poll in the www repository.
Wait for all polled Awaitables, ignoring the results
public function waitUntilEmptyAsync(): Awaitable<void>;
This is a convenience function, for when the Awaitable's side effects
are needed instead of the result.