Skip to main content

load_materialized_session

Function load_materialized_session 

Source
pub fn load_materialized_session(
    session_id: &str,
) -> Result<Option<MaterializedSession>>
Expand description

Load a session’s whole projection, transcript and all.

Crate-private on purpose. The cost of this call is everything that has ever happened in the conversation, and the callers that made that a visible problem — the runtime poll and the resume reply — were both outside this crate. What they wanted was load_materialized_projection_tail; what they reached for was this, because it was public and its name did not say otherwise. The remaining caller owns a live projection and genuinely needs all of it.