Преглед на файлове

Add summary docs

master
Savorboard преди 2 години
родител
ревизия
9212c70081
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. +7
    -1
      src/DotNetCore.CAP/ICapTransaction.cs

+ 7
- 1
src/DotNetCore.CAP/ICapTransaction.cs Целия файл

@@ -27,13 +27,19 @@ namespace DotNetCore.CAP
/// </summary>
void Commit();

/// <summary>
/// Submit the transaction context of the CAP, we will send the message to the message queue at the time of submission
/// </summary>
Task CommitAsync(CancellationToken cancellationToken = default);

/// <summary>
/// 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.
/// </summary>
void Rollback();

/// <summary>
/// We will delete the message data that has not been store in the buffer data of current transaction context.
/// </summary>
Task RollbackAsync(CancellationToken cancellationToken = default);
}
}

Зареждане…
Отказ
Запис