1
0
mirror of https://github.com/danog/amp.git synced 2025-01-23 05:41:25 +01:00
amp/lib/Internal/FutureIteratorQueue.php

28 lines
396 B
PHP
Raw Normal View History

<?php
namespace Amp\Internal;
use Amp\Future;
use Revolt\EventLoop\Suspension;
/**
* @template Tk
* @template Tv
*
* @internal
*/
final class FutureIteratorQueue
{
/**
* @var list<array{Tk, Future<Tv>}>
*/
public array $items = [];
/**
* @var array<string, FutureState<Tv>>
*/
public array $pending = [];
public ?Suspension $suspension = null;
}