isRelayConnecting method

bool isRelayConnecting(
  1. String url
)

checks if a relay is connecting

Implementation

bool isRelayConnecting(String url) {
  Relay? relay = globalState.relays[url]?.relay ?? null;
  return relay != null && relay.connecting;
}