Call async function based on example
jersobh opened this issue · comments
Jeff Andrade commented
Hi there,
The example is like "def chat_msg_handler(msg, session):", so my handler cannot be "async def chat_msg_handler". So is there any way to call an async function or do I have to re-do every async function removing the "async"?
Andrew Svetlov commented
chat_msg_handler
can be async function, the example is updated.