Skip to content

@eightkk/vue-weave / core / beginTransaction

Function: beginTransaction() ​

beginTransaction<S>(state, pending, candidate): TransactionCoreState<S> | undefined

Defined in: src/core/editTransaction.ts:82

Start saving. Returns undefined while another save is in flight for the document.

Type Parameters ​

S ​

S

Parameters ​

state ​

TransactionCoreState<S>

pending ​

Omit<PendingTransaction, "epoch" | "baseVersion">

candidate ​

S

Returns ​

TransactionCoreState<S> | undefined

Released under the MIT License.