[][src]Function holochain_tracing::with_top

pub fn with_top<A, F: FnOnce(&mut Span) -> A>(f: F) -> Option<A>

If the stack is not empty, return the top item, else return None