Feature
Queue and batching
Events wait in IndexedDB and leave in batches.
The client queues events in IndexedDB and flushes them in batches, so short drops in connectivity do not lose them. The collector's response tells the client whether to retry, wait or refresh its token.
The 200-event session cap is enforced in the client and again by the worker.