dojo/store/api/Store.Transaction (version 1.10)

Summary

This is an object returned from transaction() calls that represents the current transaction.

Method Summary

  • abort(callback,thisObject) Aborts the transaction.
  • commit() Commits the transaction.

Methods

abort(callback,thisObject)

Aborts the transaction. This may throw an error if it fails. Of if the operation is asynchronous, it may return a promise that represents the eventual success or failure of the abort.

Parameter Type Description
callback undefined
thisObject undefined
commit()

Commits the transaction. This may throw an error if it fails. Of if the operation is asynchronous, it may return a promise that represents the eventual success or failure of the commit.

Error in the documentation? Can’t find what you are looking for? Let us know!