# TransactionContextHolder

interface TransactionContextHolder : CoroutineContext.Element

A context holder that associates a `Transaction` with a specific `CoroutineContext`.

## Properties

key
Link copied to clipboard
abstract val key: CoroutineContext.Key<*>
transaction
Link copied to clipboard
abstract val transaction: Transaction?

## Functions

fold
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
get
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
minusKey
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
plus
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext