Skip to main content

swap_graph

Function swap_graph 

Source
pub fn swap_graph(
    handle: &ArcSwap<GraphSnapshot>,
    new_graph: Arc<GraphSnapshot>,
)
Expand description

Swap a new graph into the engine atomically. Call from main thread only.