How to use the solaar.async.TaskRunner function in solaar

To help you get started, we’ve selected a few solaar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pwr-Solaar / Solaar / lib / solaar / ui / __init__.py View on Github external
def _startup(app, startup_hook):
	if _log.isEnabledFor(_DEBUG):
		_log.debug("startup registered=%s, remote=%s", app.get_is_registered(), app.get_is_remote())

	from solaar.async import TaskRunner as _TaskRunner
	global _task_runner
	_task_runner = _TaskRunner('AsyncUI')
	_task_runner.start()

	notify.init()
	tray.init(lambda _ignore: window.destroy())
	window.init()

	startup_hook()

solaar

Linux device manager for Logitech receivers, keyboards, mice, and tablets.

GPL-2.0
Latest version published 2 months ago

Package Health Score

81 / 100
Full package analysis

Similar packages