store/api/Store.Transaction

dojo/store/api/Store.Transaction

Summary

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

Methods

abort(callback,thisObject)

Defined by dojo/store/api/Store

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()

Defined by dojo/store/api/Store

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.

© 2005–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/store/api/Store.Transaction.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部