idleTimeout property

Duration? idleTimeout
getter/setter pair

The idle time to wait until the transaction will be finished. The transaction will use the end timestamp of the last finished span as the endtime for the transaction.

When set to null the transaction must be finished manually.

The default is 3 seconds.

Implementation

Duration? idleTimeout = Duration(seconds: 3);