eb07ec8580
* common/task: rename ShutdownNotifier to TaskManager * nym-client: return boxed error * nym-client: enable graceful shutdown * nym-client: task wait on shutdown to instead exit on closed channel * Fix build * Fix unused * changelog: update
14 lines
400 B
Rust
14 lines
400 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub mod manager;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub mod signal;
|
|
pub mod spawn;
|
|
|
|
pub use manager::{StatusReceiver, StatusSender, TaskClient, TaskManager};
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub use signal::{wait_for_signal, wait_for_signal_and_error};
|
|
|
|
pub use spawn::spawn_with_report_error;
|