Skip to content

Conversation

@mario-reown
Copy link
Contributor

Description

Consolidates the db and node signals handling into a single function that is then used by the respective mains.

Resolves WCN2-79

@linear
Copy link

linear bot commented Nov 25, 2025

///
/// Note: this function does not care whether `f` and `shutdown_signal` are
/// connected or not. The caller must ensure they are.
pub async fn run_with_signal_handling<F, E: From<io::Error>>(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that wcn_rpc is the best place for this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants