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 + its keepalive dropped, unmapping the old cdylibs) and the fresh one stored. Carried as a plain ExtensionSession (not Option) โ€” a none() placeholder fills the slot while the fresh one is being built.

Aliased Typeยง

pub struct ExtensionSessionCell { /* private fields */ }