isConnectionOpen method

bool isConnectionOpen(
  1. RelayConnectionKey key
)

checks if the connection identified by key is open

Implementation

bool isConnectionOpen(RelayConnectionKey key) =>
    globalState.relays[key]?.relayTransport?.isOpen() ?? false;