Skip to content

Commit 3ca654e

Browse files
committed
Add withTransaction mention in the docs of each transaction-related method
1 parent 4eefd2e commit 3ca654e

File tree

1 file changed

+6
-0
lines changed
  • krossbow-stomp-core/src/commonMain/kotlin/org/hildan/krossbow/stomp

1 file changed

+6
-0
lines changed

krossbow-stomp-core/src/commonMain/kotlin/org/hildan/krossbow/stomp/StompSession.kt

+6
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,22 @@ interface StompSession {
149149

150150
/**
151151
* Sends a BEGIN frame with the given [transactionId].
152+
*
153+
* @see withTransaction
152154
*/
153155
suspend fun begin(transactionId: String)
154156

155157
/**
156158
* Sends a COMMIT frame with the given [transactionId].
159+
*
160+
* @see withTransaction
157161
*/
158162
suspend fun commit(transactionId: String)
159163

160164
/**
161165
* Sends an ABORT frame with the given [transactionId].
166+
*
167+
* @see withTransaction
162168
*/
163169
suspend fun abort(transactionId: String)
164170

0 commit comments

Comments
 (0)