Skip to main content

PredictOrderService Events

2 events registered.

NameDeprecated
orderResolved
recoveryChanged

PredictOrderService:orderResolved​

Source: app/components/UI/PredictNext/services/PredictOrderService.ts:208

Published exactly once per Order operation, when this process first observes its outcome. presented says whether an Order surface was showing the operation at that moment; when none was, the completion notification tells the Predict User instead.

Payload signature:

[PredictOrderResolution & { presented: boolean }]

PredictOrderService:recoveryChanged​

Source: app/components/UI/PredictNext/services/PredictOrderService.ts:213

Payload signature:

[
{
venueId: PredictVenueId;
operations: readonly PredictOrderRecoveryItem[];
},
]