Skip to main content

check_existing_txnid

Function check_existing_txnid 

Source
async fn check_existing_txnid(
    services: &Services,
    txn: RoomTxn<'_>,
    event_type: &str,
) -> Result<Option<Response>>
Expand description

Check if this is a new transaction id.

Returns Some when the transaction id exists and the send must then be terminated by returning the contained result.