You should not use async def
activities, you should just use normal def
activities which are in their own thread and can block normally. You’ll need to provide a ThreadPoolExecutor
to the activity. See this doc, this doc, and this sample.
1 Like