Scheduler first commit

This commit is contained in:
robbe 2025-04-24 12:23:07 +02:00
parent 70c53a9aef
commit 2c64ebda67
24 changed files with 880 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from .singleton import Singleton
class IdGenerator(metaclass=Singleton):
def __init__(self):
self.id = -1
def generate_id(self) -> int:
self.id += 1
return self.id