12 lines
358 B
Python
12 lines
358 B
Python
import asyncio
|
|
from loguru import logger
|
|
from .base import BaseProgressActionService
|
|
|
|
|
|
class WaitProgressActionService(BaseProgressActionService):
|
|
|
|
async def process(self):
|
|
logger.info('WaitProgressActionService task started')
|
|
await asyncio.sleep(self.progress_action.wait_for)
|
|
logger.info('WaitProgressActionService task ended')
|