INNER CODE UNIT · Python
notify_all
bkbilly/lnxlink · lnxlink/__main__.py:81
def notify_all(self):
"""Wakes up all threads waiting on the queue"""
with self._condition:
self._condition.notify_all()
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