nsq/reader.py
def close(self):
        """
        Closes all connections stops all periodic callbacks
        """
        for conn in self.conns.values():
            conn.close()

        self.redist_periodic.stop()
        if self.query_periodic is not None:
            self.query_periodic.stop()
def close(self):
        for conn in self.conns.values():
            conn.close()

        self.redist_periodic.stop()
        if self.query_periodic is not None:
            self.query_periodic.stop()
def close ( self ) : for conn in self . conns . values ( ) : conn . close ( ) self . redist_periodic . stop ( ) if self . query_periodic is not None : self . query_periodic . stop ( )
Closes all connections stops all periodic callbacks
Closes all connections stops all periodic callbacks