Function: useConnection()¶ useConnection(): ConnectionState Subscribe to the bridge/upstream connection state. Returns¶ ConnectionState