Redis – Async Function Call Inside While Loop
I have a queue which stored on Redis lists. I'm trying to create async consumer for this queue. But couldn't call async function inside loop. Its working like sync function when I call. import asyncio async def worker(): print("starting sleep")…