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

allowing async functions to be called like synced functions #12

Merged
merged 4 commits into from
May 27, 2024

Conversation

heikoklein
Copy link
Member

This PR allows the getter tasks to be run as methods rather than co-routines if no co-routine-loops exist.

Tests included for both co-routine and method approach.

@heikoklein heikoklein added this to the m2024-06 milestone May 27, 2024
Copy link
Collaborator

@thorbjoernl thorbjoernl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please assign the parametrization to a variable to avoid code duplication.

@heikoklein
Copy link
Member Author

Didn't I do that? Please check the last commit.

@thorbjoernl thorbjoernl merged commit cf7c934 into main May 27, 2024
1 check passed
@heikoklein heikoklein deleted the async_wrap branch May 27, 2024 20:03
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