HH\Lib\Async\KeyedPoll

Meta Engineer?

This is available as Async\KeyedPoll in the www repository.

A keyed variant of Poll

See Poll if you do not need to preserve keys.

Keys are retrieved with:

foreach ($keyed_poll await as $k => $v) {

===== WARNING ===== WARNING ===== WARNING ===== WARNING ===== WARNING =====

See detailed warning for BasePoll

===== WARNING ===== WARNING ===== WARNING ===== WARNING ===== WARNING =====

Interface Synopsis

namespace HH\Lib\Async;

final class KeyedPoll extends BasePoll<Tk, Tv> implements AsyncKeyedIterator<Tk, Tv> {...}

Public Methods

Public Methods (HH\Lib\Async\BasePoll)

Protected Methods (HH\Lib\Async\BasePoll)