latency property
The average latency across all shards in this Gateway.
See Shard.latency for details on how the latency is calculated.
Implementation
Duration get latency => shards.fold(Duration.zero, (previousValue, element) => previousValue + (element.latency ~/ shards.length));