Aerys\WatcherProcess::doStop PHP 메소드

doStop() 보호된 메소드

protected doStop ( ) : Generator
리턴 Generator
    protected function doStop() : \Generator
    {
        if (!$this->stopPromisor) {
            $this->stopPromisor = new Deferred();
            foreach ($this->ipcClients as $ipcClient) {
                @\fwrite($ipcClient, "\n");
            }
        }
        (yield $this->stopPromisor === true ? new Success() : $this->stopPromisor->promise());
    }