We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Perhaps i missing some deeper meaning/use-case but couldn't you just do something like this:
async def await_me_maybe(callback): result = callback() if inspect.isawaitable(result): return await result return result
instead of the whole class WaitCoroutineWrapper and its usage?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Perhaps i missing some deeper meaning/use-case but couldn't you just do something like this:
instead of the whole class WaitCoroutineWrapper and its usage?
The text was updated successfully, but these errors were encountered: