Transaction.setTimeout

Set a timeout in milliseconds which, when elapsed, will cause the transaction automatically to be cancelled. Valid parameter values are `[0, INT_MAX]`. If set to 0, will disable all timeouts. All pending and any future uses of the transaction will throw an exception. The transaction can be used again after it is reset.

class Transaction
const
void
setTimeout
(
in int value
)

Parameters

value int

value in milliseconds of timeout

Meta