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

Async #50

Closed
wants to merge 7 commits into from
Closed

Async #50

wants to merge 7 commits into from

Conversation

4rumprom
Copy link
Contributor

@4rumprom 4rumprom commented Mar 5, 2024

Adding asynchonous login option.

@itsjafer
Copy link
Owner

itsjafer commented Mar 5, 2024

I'm not a huge fan of how adding this functionality kills the readability of this code. I'd like to find a solution that doesn't require code duplication and branching code paths. The TikTokApi, which similarly uses Playwright under the hood recommended using https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_in_executor for async users before they fully migrated to async.

My preference would be to do a full migration (if that makes sense), rather than support partially support both

@4rumprom
Copy link
Contributor Author

4rumprom commented Mar 5, 2024

Ok. Closing this pull request then.

@4rumprom 4rumprom closed this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants