pub fn create_session_globals_then<R>(
    edition: Edition,
    f: impl FnOnce() -> R
) -> R