/**
  * {@inheritdoc}
  */
 public function clear()
 {
     $this->callableQueue->clear();
     $this->immediateManager->clear();
     $this->pollManager->clear();
     $this->awaitManager->clear();
     $this->timerManager->clear();
     if (null !== $this->signalManager) {
         $this->signalManager->clear();
     }
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function reference()
 {
     $this->referenced = true;
     $this->manager->reference($this);
 }