Kraken\Loop\LoopExtendedInterface::stop PHP Method

stop() public method

Instruct a running event loop to stop.
public stop ( )
    public function stop();

Usage Example

Beispiel #1
0
 /**
  *
  */
 private function stop()
 {
     if ($this->loop !== null && $this->loop->isRunning()) {
         $this->loop->stop();
     }
     if ($this->stopFlags === false) {
         $callable = $this->stopCallback;
         $callable($this);
     }
     $this->stopFlags = true;
 }
All Usage Examples Of Kraken\Loop\LoopExtendedInterface::stop