Skip to main content

review_diff

Function review_diff 

Source
pub async fn review_diff(
    bus: &ProgrammaticDiffBus,
    req: DiffReviewRequest,
) -> Result<DiffOutcome>
Expand description

Send req to the editor and block until the user resolves it.

No timeout: the user reviews at their own pace. A dropped reply channel means the session was cancelled (the diff was closed, :diffoff, the editor went away) and surfaces as AgentError::Cancelled — never a hang.