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

No Error Version of SignalHandle #5

Open
xvrqt opened this issue Mar 26, 2020 · 0 comments
Open

No Error Version of SignalHandle #5

xvrqt opened this issue Mar 26, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@xvrqt
Copy link
Owner

xvrqt commented Mar 26, 2020

Allow users to request a no error version of SignalHandle so they don't have to try!() each method call.
There's only one error at the moment and there's no way to recover and it's unlikely that sending messages fails if something else isn't seriously wrong.

This will make it more ergonomic for the majority of users.

addy::mediate(SIGINT).register("", || {}).enable();
@xvrqt xvrqt added enhancement New feature or request good first issue Good for newcomers labels Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant