Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove create_futures and use directly co-routine #4

Open
edgarriba opened this issue Feb 1, 2023 · 0 comments
Open

Remove create_futures and use directly co-routine #4

edgarriba opened this issue Feb 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@edgarriba
Copy link
Member

          Tasks is not really necessary to be declared as futures.

something like this will work as well

return await asyncio.gather(run_wrapper(), self.stream_camera(client))

Originally posted by @edgarriba in #1 (comment)

@edgarriba edgarriba added the enhancement New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant