From 9212c700818f9fca2b3a5091b7cf1640b54b6d78 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Fri, 28 Jan 2022 11:14:22 +0800 Subject: [PATCH] Add summary docs --- src/DotNetCore.CAP/ICapTransaction.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/DotNetCore.CAP/ICapTransaction.cs b/src/DotNetCore.CAP/ICapTransaction.cs index 304626b..9b5424b 100644 --- a/src/DotNetCore.CAP/ICapTransaction.cs +++ b/src/DotNetCore.CAP/ICapTransaction.cs @@ -27,13 +27,19 @@ namespace DotNetCore.CAP /// void Commit(); + /// + /// Submit the transaction context of the CAP, we will send the message to the message queue at the time of submission + /// Task CommitAsync(CancellationToken cancellationToken = default); /// - /// We will delete the message data that has not been sstore in the buffer data of current transaction context. + /// We will delete the message data that has not been store in the buffer data of current transaction context. /// void Rollback(); + /// + /// We will delete the message data that has not been store in the buffer data of current transaction context. + /// Task RollbackAsync(CancellationToken cancellationToken = default); } } \ No newline at end of file