1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! Internal agent-based components for acton-service
//!
//! This module provides reactive, actor-based connection pool management
//! using the [`acton_reactive`] framework. Agents are an **internal
//! implementation detail** - users interact with `AppState` and `ServiceBuilder`,
//! not with agents directly.
//!
//! ## How It Works
//!
//! When you call `ServiceBuilder::build()`, the framework:
//!
//! 1. Spawns pool agents internally to manage connections
//! 2. Agents handle reconnection, health monitoring, graceful shutdown
//! 3. Pools are made available via `state.db()`, `state.redis()`, etc.
//!
//! Users don't need to know agents exist - they just work behind the scenes.
// ============================================================================
// Public exports - types users may actually need
// ============================================================================
// Background worker - users can use this for managed background tasks
pub use ;
// Health status types - users may want to check aggregated health
pub use ;
// Task status response for BackgroundWorker users
pub use TaskStatusResponse;
// ============================================================================
// Internal exports - pool agents and shared storage for ServiceBuilder
// ============================================================================
// Pool agents - spawned by ServiceBuilder::build()
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;