Skip to content

Commit 5ed5e51

Browse files
committed
docs(predict): reattach getConnectionStatus JSDoc after subscribe method
1 parent a628a0e commit 5ed5e51

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/components/UI/Predict/controllers/PredictController.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2594,11 +2594,6 @@ export class PredictController extends BaseController<
25942594
return provider.subscribeToCryptoPrices(symbols, callback);
25952595
}
25962596

2597-
/**
2598-
* Gets the current WebSocket connection status for live data feeds.
2599-
*
2600-
* @returns Connection status for sports, market, and RTDS data WebSocket channels
2601-
*/
26022597
/**
26032598
* Subscribes to WebSocket connection-status changes for live data feeds.
26042599
* The callback fires immediately with the current status and thereafter only
@@ -2617,6 +2612,11 @@ export class PredictController extends BaseController<
26172612
return provider.subscribeToConnectionStatus(callback);
26182613
}
26192614

2615+
/**
2616+
* Gets the current WebSocket connection status for live data feeds.
2617+
*
2618+
* @returns Connection status for sports, market, and RTDS data WebSocket channels
2619+
*/
26202620
public getConnectionStatus(): ConnectionStatus {
26212621
const provider = this.provider;
26222622
if (!provider?.getConnectionStatus) {

0 commit comments

Comments
 (0)