Skip to main content

Module background

Module background 

Source
Expand description

Background shell execution registry and associated types.

This module provides the RunId newtype for tracking individual background shell runs, and the [BackgroundHandle] struct used by ShellExecutor to manage in-flight processes.

Background runs are stored in a HashMap<RunId, BackgroundHandle> on the executor. The registry is bounded by max_background_runs from config.

Structsยง

BackgroundCompletion
Final result delivered when a background run finishes.
BackgroundRunSnapshot
Lightweight snapshot of a single in-flight background shell run.
RunId
Opaque correlation identifier for a background shell run.