mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2026-05-17 22:20:08 +02:00
small cleanup
This commit is contained in:
3
main.py
3
main.py
@@ -13,7 +13,8 @@ class Plugin:
|
||||
|
||||
async def long_running(self):
|
||||
await asyncio.sleep(15)
|
||||
await decky.emit("test_event", "Hello from the backend!", True, 2)
|
||||
# Passing through a bunch of random data, just as an example
|
||||
await decky.emit("timer_event", "Hello from the backend!", True, 2)
|
||||
|
||||
# Asyncio-compatible long-running code, executed in a task when the plugin is loaded
|
||||
async def _main(self):
|
||||
|
||||
Reference in New Issue
Block a user