Sortable
A connection type that can be compared for priority ordering.
Sortable=TypeVar("Sortable", bound="Connection")
Any type substituted for Sortable must be a Connection subclass. This is used internally by the priority queue that schedules health checks: connections with the oldest last-used timestamp are checked first.
Notes
The bound is Connection rather than a protocol because the priority comparison depends on internal state (_last_used) that is not part of any public protocol.