HH\Lib\Async\KeyedPoll

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