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
.
pub fn create_session_if_not_set_then<R>(
f: impl FnOnce(&SessionGlobals) -> R,
) -> R
Creates the session globals and then runs the closure f
.