Thruway\Peer\RouterInterface::stop PHP Méthode

stop() public méthode

Note that this should bring down all connections and timers associated with the router which will cause the loop to exit once there is nothing being watched. If there are other things added to the loop through clients or otherwise, the loop will continue running.
public stop ( boolean $gracefully = true )
$gracefully boolean
    public function stop($gracefully = true);