We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b44914 commit 3d5ba48Copy full SHA for 3d5ba48
packages/database/src/realtime/TransportManager.ts
@@ -39,7 +39,10 @@ export class TransportManager {
39
return [BrowserPollConnection, WebSocketConnection];
40
}
41
42
- // Returns whether transport has been selected.
+ /**
43
+ * Returns whether transport has been selected to ensure WebSocketConnection or BrowserPollConnection are not called after
44
+ * TransportManager has already set up transports_
45
+ */
46
static get IS_TRANSPORT_INITIALIZED() {
47
return this.globalTransportInitialized_;
48
0 commit comments