Skip to content

Feature request: some way to know which termination signal was received #129

Description

@BatmanAoD

I see that the crate defines SignalType, but it doesn't appear to have any way for the registered signal handler to know which signal it received, or a way to register different handlers for different signals.

Could something like that be added? Even something as simple as using tracing to instrument the span in which the callback is invoked with an attribute corresponding to the signal would be helpful for logging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions