File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ suspend inline fun <T> transaction(crossinline block: suspend () -> T): T
3333Calling this function with a specific suspending block will run the block in
3434the context of a [ ` CoroutineTransaction ` ] [ CoroutineTransaction ] .
3535
36- Calls to ` transaction ` can be nested inside another, with each child re-use the
37- first ` CoroutineTransaction ` . Only the outermost call will either
36+ Calls to ` transaction ` can be nested inside another, with each child re-using
37+ the first ` CoroutineTransaction ` . Only the outermost call will either
3838[ ` commit ` ] [ Connection.commit ] or [ ` rollback ` ] [ Connection.rollback ] the
3939transaction.
4040
@@ -46,7 +46,7 @@ completion and attempting to do so will result in a runtime failure.
4646A transaction will establish a new [ ` Connection ` ] [ Connection ] if an open one
4747does not already exist in the active [ ` CoroutineContext ` ] [ CoroutineContext ] .
4848If the transaction does establish a new [ ` Connection ` ] [ Connection ] , it will
49- attempt to [ close] [ Connection.close ] it upon completion.
49+ attempt to [ ` close ` ] [ Connection.close ] it upon completion.
5050
5151An active [ ` CoroutineConnection ` ] [ CoroutineConnection ] is accessible from the
5252current [ ` CoroutineContext ` ] [ CoroutineContext ] . The connection from the context
You can’t perform that action at this time.
0 commit comments