Skip to content

Commit

Permalink
fixup! feat: streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
debajyoti-truefoundry committed Dec 15, 2023
1 parent b769c6c commit f97005f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_processor/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async def _iter_and_warn(maybe_generator) -> AsyncIterator:
UserWarning,
stacklevel=1,
)
# NOTE: this will block the eventloop. Move it to a different thread.
# NOTE: this may block the eventloop. Check it once.
for obj in maybe_generator:
yield obj
return
Expand Down

0 comments on commit f97005f

Please sign in to comment.