trixnity-client
3.7.0-beta3
common
trixnity-client
/
net.folivo.trixnity.client.store.transaction
/
AsyncTransactionContext
Async
Transaction
Context
class
AsyncTransactionContext
:
CoroutineContext.Element
Members
Constructors
Async
Transaction
Context
Link copied to clipboard
constructor
(
)
Types
Key
Link copied to clipboard
object
Key
:
CoroutineContext.Key
<
AsyncTransactionContext
>
Properties
id
Link copied to clipboard
val
id
:
String
key
Link copied to clipboard
open
override
val
key
:
CoroutineContext.Key
<
AsyncTransactionContext
>
transaction
Has
Been
Applied
Link copied to clipboard
val
transactionHasBeenApplied
:
StateFlow
<
Boolean
>
Functions
add
Operation
Link copied to clipboard
suspend
fun
addOperation
(
key
:
String
,
operation
:
suspend
(
)
->
Unit
)
:
suspend
(
)
->
Unit
?
build
Transaction
Link copied to clipboard
fun
buildTransaction
(
)
:
AsyncTransaction
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
?
minus
Key
Link copied to clipboard
open
override
fun
minusKey
(
key
:
CoroutineContext.Key
<
*
>
)
:
CoroutineContext
plus
Link copied to clipboard
open
operator
fun
plus
(
context
:
CoroutineContext
)
:
CoroutineContext