leo_span::symbol

Function create_session_if_not_set_then

Source
pub fn create_session_if_not_set_then<R>(
    f: impl FnOnce(&SessionGlobals) -> R,
) -> R
Expand description

Creates the session globals and then runs the closure f.