Skip to main content

RestartCallback

Type Alias RestartCallback 

Source
pub type RestartCallback = Arc<dyn Fn(PluginRegistration) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;
Expand description

重启回调类型别名:接收重新注册的适配器, 返回一个 future 用于把它们重新注册进 ConfigManager / SessionRouter。

Aliased Type§

pub struct RestartCallback { /* private fields */ }