异步优化写入备份
This commit is contained in:
		
							
								
								
									
										11
									
								
								core/timer/timer.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								core/timer/timer.py
									
									
									
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user