gatewayLatency property

Duration gatewayLatency

Average gateway latency across all shards

Implementation

Duration get gatewayLatency
  => Duration(milliseconds: (this.shards.map((e) => e.gatewayLatency.inMilliseconds)
      .fold<int>(0, (first, second) => first + second)) ~/ shards.length);