Skip to content

Instantly share code, notes, and snippets.

Last active Apr 28, 2022
What would you like to do?
import asyncio
import celery
app = celery.Celery('app')
async def coroutine():
await asyncio.sleep(5)
print("pass 5 second")
def simple_task():
loop = asyncio.get_event_loop()
from . import tasks
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment