HH\Lib\Async\KeyedPoll::add
Add a single awaitable to the poll
public function add(
Tk $key,
Awaitable<Tv> $awaitable,
): void;
The key is retrieved with foreach ($poll await as $k => $v) {}
Parameters
Tk $key
Awaitable<Tv>
$awaitable
Returns
void