Changeset View
Changeset View
Standalone View
Standalone View
src/future/FutureIterator.php
| Show All 22 Lines | |||||
| * | * | ||||
| * For a general overview of futures, see @{article:Using Futures}. | * For a general overview of futures, see @{article:Using Futures}. | ||||
| * | * | ||||
| * @task basics Basics | * @task basics Basics | ||||
| * @task config Configuring Iteration | * @task config Configuring Iteration | ||||
| * @task iterator Iterator Interface | * @task iterator Iterator Interface | ||||
| * @task internal Internals | * @task internal Internals | ||||
| */ | */ | ||||
| final class FutureIterator implements Iterator { | final class FutureIterator extends Phobject implements Iterator { | ||||
| protected $wait = array(); | protected $wait = array(); | ||||
| protected $work = array(); | protected $work = array(); | ||||
| protected $futures = array(); | protected $futures = array(); | ||||
| protected $key; | protected $key; | ||||
| protected $limit; | protected $limit; | ||||
| ▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines | |||||