Beispiel #1
0
 public function __toString()
 {
     return $this->state->__toString();
 }
Beispiel #2
0
 public function __construct(Promise $promise, TaskQueue $tasks)
 {
     parent::__construct($promise, $tasks, null);
     $this->onFulfilled = new \SplObjectStorage();
     $this->onRejected = new \SplObjectStorage();
 }