While dramatiq doesn't support async actors and thus forces this library to consume tasks using pymongo, the client code that submits the tasks using the ACTOR.send() command should also be able to use await ACTOR.async_send() or similar when scheduling tasks from within an async loop already.
While dramatiq doesn't support async actors and thus forces this library to consume tasks using pymongo, the client code that submits the tasks using the
ACTOR.send()
command should also be able to useawait ACTOR.async_send()
or similar when scheduling tasks from within an async loop already.