pub async fn append_settled(
store: &dyn DurableStore,
stream_key: &str,
payload: Vec<u8>,
expected_seq: u64,
) -> Result<u64, DurabilityError>Expand description
Appends payload at expected_seq, settling an unknown outcome.
§Errors
The append’s error; DurabilityError::OutcomeUnknown when the position
cannot be read back; DurabilityError::SequenceConflict when another row
stands where the append was sent.