markSessionStartDelivered static method
Mark a session_start as delivered (called after HTTP 200).
Implementation
static Future<void> markSessionStartDelivered(int tsMillis) async {
await _mutatePendingSessionStarts('markSessionStartDelivered', (pending) {
return pending.map((entry) {
if (entry.ts == tsMillis) {
return _PendingSessionStart(
ts: entry.ts,
number: entry.number,
durable: true,
locallyStored: true,
hasLocalStoreProvenance: true,
compatibilityState: null,
);
}
return entry;
}).toList();
});
}