CKAsyncTransactionState Constants Reference
Declared in | CKAsyncTransaction.h |
---|
CKAsyncTransactionState
State is initially CKAsyncTransactionStateOpen. Every transaction MUST be committed. It is an error to fail to commit a transaction. A committed transaction MAY be canceled. You cannot cancel an open (uncommitted) transaction.
Definition
typedef NS_ENUM(NSUInteger, CKAsyncTransactionState ) {
CKAsyncTransactionStateOpen = 0,
CKAsyncTransactionStateCommitted,
CKAsyncTransactionStateCanceled,
};
Constants
CKAsyncTransactionStateOpen
-
State is initially CKAsyncTransactionStateOpen. Every transaction MUST be committed. It is an error to fail to commit a transaction. A committed transaction MAY be canceled. You cannot cancel an open (uncommitted) transaction.
Declared In
CKAsyncTransaction.h
. CKAsyncTransactionStateCommitted
-
State is initially CKAsyncTransactionStateOpen. Every transaction MUST be committed. It is an error to fail to commit a transaction. A committed transaction MAY be canceled. You cannot cancel an open (uncommitted) transaction.
Declared In
CKAsyncTransaction.h
. CKAsyncTransactionStateCanceled
-
State is initially CKAsyncTransactionStateOpen. Every transaction MUST be committed. It is an error to fail to commit a transaction. A committed transaction MAY be canceled. You cannot cancel an open (uncommitted) transaction.
Declared In
CKAsyncTransaction.h
.
Declared In
CKAsyncTransaction.h