You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If event is registered after emit.start, chances are events binding will not take effect immediately.
this is caused by asyncio scheduling. emit.register is a synced call, however, if emit is running on top of aioredis engine, it's async call, so we have to use asyncio.create_task to add event and bind channel to listening. No way to enforce asyncio interrupt current loop and let the binding jump the queue.
The text was updated successfully, but these errors were encountered:
If event is registered after
emit.start
, chances are events binding will not take effect immediately.this is caused by asyncio scheduling. emit.register is a synced call, however, if emit is running on top of aioredis engine, it's async call, so we have to use asyncio.create_task to add event and bind channel to listening. No way to enforce asyncio interrupt current loop and let the binding jump the queue.
The text was updated successfully, but these errors were encountered: