[][src]Function holochain_tracing::with_top

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

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