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

WIP: Reusable Raise #3408

Open
wants to merge 4 commits into
base: arrow-2
Choose a base branch
from
Open

WIP: Reusable Raise #3408

wants to merge 4 commits into from

Conversation

kyay10
Copy link
Collaborator

@kyay10 kyay10 commented Apr 23, 2024

reusableRaise is intended as a scope where one can reuse the same Raise instance for multiple recoverReused calls, while also being able to use that raise instance in concurrent contexts such as async before recoverReused is used. The goal is to allow fewer allocations when using async and similar APIs that only throw when you await them. The alternative is to use either and call bind when unpacking is wanted.

@nomisRev nomisRev added the 2.0.0 Tickets / PRs belonging to Arrow 2.0 label Apr 24, 2024
@nomisRev nomisRev changed the base branch from arrow-2 to main April 24, 2024 14:11
@nomisRev nomisRev changed the base branch from main to arrow-2 April 24, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0.0 Tickets / PRs belonging to Arrow 2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants