Skip to main content

ActionBridgeCell

Type Alias ActionBridgeCell 

Source
pub type ActionBridgeCell = Arc<Mutex<Option<Arc<ActionBridge>>>>;
Expand description

The cell that holds the live ActionBridge across a /reload. A plugin stores the bridge’s raw user_data pointer during register; on reload the old bridge is invalidated (in-flight calls fail fast) and the fresh one stored. The fresh session’s plugins are handed the fresh bridge pointer.

Aliased Type§

pub struct ActionBridgeCell { /* private fields */ }