Skip to content

Implement beforeExit callback #2

@mpetrunic

Description

@mpetrunic

Sometimes for command you would need before exit callback which would be called in case of SIGINT, Ctrl+C etc. Some example would be to sensibli close database, p2p connections etc.

We would like this in ChainSafe/lodestar#162

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