Skip to main content

RunTransactionParams Interface

The parameters for the RunTransaction API.

This API is provided as an alpha preview and may change without notice.

To use, import via fluid-framework/alpha.

For more information about our API support guarantees, see here.

Signature

export interface RunTransactionParams

Properties

Property Alerts Modifiers Type Description
preconditions Alpha optional, readonly readonly TransactionConstraint[] An optional list of constraints that are checked just before the transaction begins. If any of the constraints are not met when runTransaction is called, an error will be thrown. If any of the constraints are not met after the transaction has been ordered by the service, it will be rolled back on this client and ignored by all other clients.

Property Details

preconditions

An optional list of constraints that are checked just before the transaction begins. If any of the constraints are not met when runTransaction is called, an error will be thrown. If any of the constraints are not met after the transaction has been ordered by the service, it will be rolled back on this client and ignored by all other clients.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

readonly preconditions?: readonly TransactionConstraint[];

Type: readonly TransactionConstraint[]