pub async fn flush_did(state: &AppState, did: &str) -> Result<()>
Flush a single DID’s dirty cursors in one batched applyWrites, then clear the dirty flag for the cursors that were included.
applyWrites
dirty