Nostrum.Util.get_shard_latency
You're seeing just the function
get_shard_latency
, go back to Nostrum.Util module for more information.
Specs
get_shard_latency(Nostrum.Struct.WSState.t()) :: non_neg_integer() | nil
Gets the latency of the shard connection from a Nostrum.Struct.WSState.t()
struct.
Returns the latency in milliseconds as an integer, returning nil if unknown.