Changeset View
Changeset View
Standalone View
Standalone View
src/future/Future.php
| <?php | <?php | ||||
| /** | /** | ||||
| * A 'future' or 'promise' is an object which represents the result of some | * A 'future' or 'promise' is an object which represents the result of some | ||||
| * pending computation. For a more complete overview of futures, see | * pending computation. For a more complete overview of futures, see | ||||
| * @{article:Using Futures}. | * @{article:Using Futures}. | ||||
| * | |||||
| * @stable | |||||
| */ | */ | ||||
| abstract class Future { | abstract class Future extends Phobject { | ||||
| protected static $handlerInstalled = null; | protected static $handlerInstalled = null; | ||||
| protected $result; | protected $result; | ||||
| protected $exception; | protected $exception; | ||||
| /** | /** | ||||
| * Is this future's process complete? Specifically, can this future be | * Is this future's process complete? Specifically, can this future be | ||||
| ▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines | |||||