异步优化写入备份

This commit is contained in:
2024-11-12 20:30:19 +08:00
parent 8626664653
commit f33d61e315
21 changed files with 379 additions and 69 deletions

11
core/timer/timer.py Normal file
View File

@@ -0,0 +1,11 @@
from typing import Callable
class Timer:
def __init__(self, name: str, interval: float, callback: Callable):
self.name = name
self.interval = interval
self.callback = callback
def start(self):
pass