kmongo / org.litote.kmongo.coroutine / com.mongodb.reactivestreams.client.ClientSession / abortTransactionAndAwait

abortTransactionAndAwait

suspend fun ClientSession.abortTransactionAndAwait(): Unit (source)

Abort a transaction in the context of this session. A transaction can only be aborted if one has first been started.