pub fn has_open_in_flight_dispatch(
conn: &Connection,
document_id: &str,
generation: u64,
) -> Result<bool>Expand description
#qflood: is a dispatch already in flight (accepted, not yet consumed) for this
document at generation? Mirrors the open-dispatch shape the restart reconciler
keys on. An open dispatch means the current turn already has work queued/running,
so an auto re-fire would only pile a redundant trigger into the busy pane.