gateway/modules/features/featuresLifecycle.py
2025-10-20 22:01:03 +02:00

27 lines
594 B
Python

import logging
from modules.interfaces.interfaceDbAppObjects import getRootInterface
logger = logging.getLogger(__name__)
async def start() -> None:
""" Start feature triggers and background managers """
rootInterface = getRootInterface()
eventUser = rootInterface.getUserByUsername("event")
# Feature SyncDelta
from modules.features.syncDelta import mainSyncDelta
mainSyncDelta.startSyncManager(eventUser)
# Feature ...
return True
async def stop() -> None:
""" Stop feature triggers and background managers """
# Feature ...
return True