11 lines
319 B
Python
11 lines
319 B
Python
from .base import BaseProgressActionService
|
|
from chain_service.database.models.progress_chain import WaitProgressAction
|
|
|
|
import asyncio
|
|
|
|
|
|
class WaitProgressActionService(BaseProgressActionService):
|
|
|
|
async def process(self, progress_action: WaitProgressAction):
|
|
await asyncio.sleep(progress_action.wait_for)
|