日本語
@eightkk/vue-weave / core / settleTransaction
Function: settleTransaction()
settleTransaction<
S>(state,operationId,epoch,result,allowUncertain?):SettleResult<S>
Defined in: src/core/editTransaction.ts:109
Apply a response. The response is adopted only when it answers the current pending operation in the current epoch; anything else changes nothing. allowUncertain lets reconcile settle an operation that ended as uncertain.
Type Parameters
S
S
Parameters
state
operationId
string
epoch
number
result
SaveResult<S>
allowUncertain?
boolean = false
Returns
SettleResult<S>