swarm worker base

pull/64/head
Kye 1 year ago
parent cacdc1de21
commit 35b5264e23

@ -24,6 +24,11 @@ class AbstractSwarm(ABC):
"""Run the swarm"""
pass
@abstractmethod
def arun(self):
"""Run the swarm Asynchronously"""
pass
@abstractmethod
def add_worker(self, worker: "AbstractWorker"):
"""Add a worker to the swarm"""

Loading…
Cancel
Save