Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Bot1(object):
- async def step01(self):
- print('step-01')
- await asyncio.sleep(0.6)
- async def step02(self):
- print('step-02')
- await asyncio.sleep(0.6)
- async def step03(self):
- print('step-03')
- await asyncio.sleep(0.6)
- async def __call__(self, *args, **kwargs):
- await self.step01()
- await self.step02()
- await self.step03()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement