Skip to content

Commit

Permalink
Add withTransaction mention in the docs of each transaction-related m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
joffrey-bion committed Jun 4, 2024
1 parent 4eefd2e commit 3ca654e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,22 @@ interface StompSession {

/**
* Sends a BEGIN frame with the given [transactionId].
*
* @see withTransaction
*/
suspend fun begin(transactionId: String)

/**
* Sends a COMMIT frame with the given [transactionId].
*
* @see withTransaction
*/
suspend fun commit(transactionId: String)

/**
* Sends an ABORT frame with the given [transactionId].
*
* @see withTransaction
*/
suspend fun abort(transactionId: String)

Expand Down

0 comments on commit 3ca654e

Please sign in to comment.