★ wanayoo — archive 1999 https://github.com/pyrogram/pyrogram/issues/291Nouvelle recherche | Portail wanayoo
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 filter callback functions #291

Closed
delivrance opened this issue Jul 29, 2019 · 1 comment
Closed

Async filter callback functions #291

delivrance opened this issue Jul 29, 2019 · 1 comment

Comments

@delivrance
Copy link
Member

@delivrance delivrance commented Jul 29, 2019

Filter callback functions could be either async or non-async and Pyrogram should be able to execute both. Currently, async callbacks won't work, an extra check on the callback to see if it's awaitable and thus await on it solves the issue.

@delivrance
Copy link
Member Author

@delivrance delivrance commented Aug 26, 2020

Duplicate? Done nonetheless.

@delivrance delivrance closed this Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.