Skip to main content

ExtensionSessionCell

Type Alias ExtensionSessionCell 

Source
pub type ExtensionSessionCell = Arc<Mutex<ExtensionSession>>;
Expand description

The cell that holds the live ExtensionSession across a /reload. Cloned into every site that needs the current session (the TUI, the reload callback). On reload the old session is replaced out (its active flag flipped) and the fresh one stored atomically. In-flight callbacks retain the old keepalive until they return; callers never observe an empty placeholder during the swap.

Aliased Typeยง

pub struct ExtensionSessionCell { /* private fields */ }