Class Transactions

Provides an interface to access transactions.

Methods

Methods

  • Executes a transaction.

    Parameters

    • logicFn: ((attempt) => Promise<void>)

      The transaction lambda to execute.

    • Optional config: TransactionOptions

      Configuration operations for the transaction.

    Returns Promise<TransactionResult>