We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824f5bf commit 5e47bbfCopy full SHA for 5e47bbf
storey/flow.py
@@ -847,9 +847,6 @@ def do(self, event):
847
async def _call(self, event):
848
if self._long_running:
849
res = await asyncio.get_running_loop().run_in_executor(None, self.do, event)
850
- elif self._is_async_gen or self._is_sync_gen:
851
- # Generator functions return generators directly, don't await
852
- res = self.do(event)
853
else:
854
res = self.do(event)
855
if self._is_async:
0 commit comments