aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/transport.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/transport.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/transport.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/transport.js b/packages/meshbay-hub/src/meshbay_hub/static/transport.js
index 5ed6fa9..9dcea4f 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/transport.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/transport.js
@@ -621,6 +621,8 @@ class MeshBayTransport {
}
get connected() { return this._connected; }
+ /** True while _reconnectLoop is running, backoff included. */
+ get reconnecting() { return !!this._reconnectPromise; }
set onChat(fn) { this._onChat = fn; }
set onStreamInit(fn) { this._onStreamInit = fn; }