INNER CODE UNIT · Python

clear

bkbilly/lnxlink · lnxlink/__main__.py:86

    def clear(self):
        """Clears all items from the queue"""
        with self._condition:
            self.queue.clear()


# pylint: disable=too-many-instance-attributes
class LNXlink:
    """Start LNXlink service that loads all modules and connects to MQTT"""

    version = version
    path = path
    install_method = None

    def __init__(self, config):
        if LNXlink.install_method is None:
            LNXlink.install_method = helpers.get_install_method()
        self.install_method = LNXlink.install_method

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…