Skip to main content

handle_muxspect_background_tasks

Function handle_muxspect_background_tasks 

Source
pub async fn handle_muxspect_background_tasks(
    __arg0: State<AppState>,
    __arg1: Query<MuxspectBackgroundTasksQuery>,
) -> impl IntoResponse
Expand description

GET /api/v1/muxspect/background-tasks[?block_id=X] — the durable declared-background task registry (db_background_tasks), the source of truth handle_muxspect_dock’s ephemeral, 1-hour-evicted DockSnapshotCache deliberately isn’t (see docs/status/STATUS_ATTACHED_TASK_AXIS_AND_DEV_LOOP_2026_08_15.md). A task still shows up here after the dock cache has evicted it, and survives a pane reload — it’s backed by SQLite, not an in-memory cache.