TransactionSpec

Spec that describes the type of agent transaction to be created by the function being wrapped by TransactionShim.bindCreateTransaction.

Constructor

new TransactionSpec(params)

Parameters:
NameTypeDescription
paramsTransactionSpecParams

Members

nest :boolean

Indicates if the transaction being created is allowed to be nested within another transaction of the same type. If false, the default, the transaction will only be created if there is no existing transaction, or the current transaction is of a different type. If true, the transaction will be created regardless of the current transaction's type.

Type:
  • boolean

type :string

The type of the transaction to create. Must be one of the values from TransactionShim.TRANSACTION_TYPES.

Type:
  • string