TransactionResult
public enum TransactionResult<ResponseDataType, MetadataType>
Represents the possible outcomes of executing a given DataTransaction
.
-
Represents the result of a successfully executed transaction. The case includes the data and metadata returned by the transaction.
Declaration
Swift
case succeeded(ResponseDataType, MetadataType)
-
Represents the result of a failed executed transaction. The case includes a
DataTransactionError
representing the problem.Declaration
Swift
case failed(DataTransactionError)
-
Determines whether the receiver represents a successful result.
Declaration
Swift
public var isSuccess: Bool