Skip to main content

PushHealthSnapshotProvider

Type Alias PushHealthSnapshotProvider 

Source
pub type PushHealthSnapshotProvider = Arc<dyn Fn() -> Value + Send + Sync>;
Expand description

v1.4.83 §9 Phase 2 F5: Push channel health snapshot provider.

opend 启动时注入 closure, 捕获 GatewayBridge.push_health Arc, 在 /api/push-subscriber-info 调用时返 JSON snapshot. 和 AdminStatusProvider 同一 pattern —— 避免 futu-rest 直接依赖 futu-gateway 造成循环.

Aliased Type§

pub struct PushHealthSnapshotProvider { /* private fields */ }