Skip to main content

PredictLiveDataService Events

6 events registered.

NameDeprecated
gameLiveUpdated
indexFailed
indexReleased
indexSnapshotUpdated
indexUpdated
quoteUpdated

PredictLiveDataService:gameLiveUpdated​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:77

Payload signature:

[PredictGameLive]

PredictLiveDataService:indexFailed​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:110

An error frame for a watched index Event.

Payload signature:

[PredictIndexError]

PredictLiveDataService:indexReleased​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:121

The server let an index Event go. Every watcher of it is released and its cache is gone. reason is the server's reason: window_closed (the window closed more than 30 s ago, not an error) or unavailable (the feed went away; a watcher can try again).

Payload signature:

[
{ venueId: PredictVenueId; eventId: PredictEntityId; reason?: string },
]

PredictLiveDataService:indexSnapshotUpdated​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:98

The window so far. Also the replay for a watcher that joins late: it goes to every listener of the Event and carries replay. A snapshot that is not newer than the series a listener holds only adds history.

Payload signature:

[snapshot: PredictIndexSnapshot, replay?: PredictIndexReplay]

PredictLiveDataService:indexUpdated​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:104

One live index tick.

Payload signature:

[PredictIndexLive]

PredictLiveDataService:quoteUpdated​

Source: app/components/UI/PredictNext/services/PredictLiveDataService.ts:82

Payload signature:

[PredictQuote]