Skip to main content

lookup_in_session

Function lookup_in_session 

Source
pub async fn lookup_in_session(
    id: &PubmedId,
    ctx: &FetchContext,
) -> Result<Lookup, FetchError>
Expand description

lookup as its own logged session: session_start before and session_end after, for a caller whose context exists only for the lookup – so its resolve row is bracketed like every other call’s.

§Errors

As lookup, plus a provenance-log failure on either bookend.