TransactionOptions interface

自定义交易行为的选项。

签名:

export declare interface TransactionOptions 

特性

财产类型描述
最大尝试次数数字事务失败后尝试提交的最大次数。默认值为 5。

TransactionOptions.maxAttempts

事务失败后尝试提交的最大次数。默认值为 5。

签名:

readonly maxAttempts?: number;