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

refactor!: overhaul app event handler #792

Merged
merged 8 commits into from
Jun 26, 2024
Merged

refactor!: overhaul app event handler #792

merged 8 commits into from
Jun 26, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jun 25, 2024

Notes: #787

This PR rewrites app internal event handling for more stable hooks and explicit response handling.

One noticeable benefit of this PR is that it unblocks the ability to have native app.fetch

Note: onAfterResponse is only relevant to Node since in web, we don't know when response if fully consumed/sent.

@pi0 pi0 self-assigned this Jun 25, 2024
@pi0 pi0 marked this pull request as ready for review June 26, 2024 10:31
@pi0 pi0 changed the title refactor: overhaul app event handler refactor!: overhaul app event handler Jun 26, 2024
@pi0 pi0 merged commit 396aa4b into main Jun 26, 2024
3 checks passed
@pi0 pi0 deleted the refactor/app branch June 26, 2024 10:31
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.

1 participant