Kraken\Loop\LoopModelInterface::stop PHP Метод

stop() публичный Метод

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

Usage Example

Пример #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function swap(LoopModelInterface $loop, $all = false)
 {
     $this->stop();
     $loop->stop();
     $list = $all === true ? $this : $this->getTransferableProperties();
     foreach ($list as $key => $val) {
         $tmp = $loop->{$key};
         $loop->{$key} = $this->{$key};
         $this->{$key} = $tmp;
     }
     return $this;
 }
All Usage Examples Of Kraken\Loop\LoopModelInterface::stop