Skip to content

Conversation

@bizob2828
Copy link
Contributor

@bizob2828 bizob2828 commented Sep 25, 2025

In #48 this broke functions that had await statements in them. Instead of reverting that fix, I updated the code to only assign our wrapped arrow functions with the async keyword when the original function is marked as async

@bizob2828 bizob2828 changed the title Revert "fix: Hardcode wrapped arrow functions to not specify async key to avoid wrapping non-native promises (#48)" revert: Hardcode wrapped arrow functions to not specify async key to avoid wrapping non-native promises Sep 25, 2025
@bizob2828 bizob2828 changed the title revert: Hardcode wrapped arrow functions to not specify async key to avoid wrapping non-native promises fix: Properly assign async keyword only to wrapped functions that had async keyword on original Sep 25, 2025
@bizob2828 bizob2828 merged commit 0495589 into apm-js-collab:main Sep 26, 2025
1 check passed
@timfish timfish mentioned this pull request Sep 26, 2025
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.

4 participants