Skip to main content

find_prior_surface_by_id

Function find_prior_surface_by_id 

Source
pub fn find_prior_surface_by_id(
    messages: &[HistoryMessage],
    surface_id: Option<&str>,
) -> Option<PriorSurface>
Expand description

find_prior_surface restricted to one surfaceId.

Use this when several surfaces are live and the caller knows which one the user means.