Skip to content

Conversation

@sxzz
Copy link
Member

@sxzz sxzz commented Mar 18, 2025

Essentially, this hook was added to enable custom error handling for promises. The "Unexpected promise in sync context" error message isn't user-friendly in certain scenarios.

@sxzz sxzz requested a review from antfu March 18, 2025 20:19
@sxzz sxzz merged commit f3eda8e into main Mar 19, 2025
4 checks passed
@sxzz sxzz deleted the feat/onYield branch March 19, 2025 09:01
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