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

Recover API for STDlib #834

Open
emil14 opened this issue Jan 18, 2025 · 0 comments
Open

Recover API for STDlib #834

emil14 opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels

Comments

@emil14
Copy link
Collaborator

emil14 commented Jan 18, 2025

We have Panic component, but we don't have Recover

def Main(start any) (stop any) {
    app runtime.Recover{App}
    ---
    :start -> app -> :stop
}

def App(start any) (stop any) {
    // application logic here
}

TODO: research if it's possible to avoid having recover and learn about Go decision

@emil14 emil14 added the Minor label Jan 18, 2025
@emil14 emil14 self-assigned this Jan 18, 2025
@emil14 emil14 added Major and removed Minor labels Jan 25, 2025
@emil14 emil14 changed the title Recover Recover API for STDlib Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant