get Queue Size
Returns the number of pending events in the durable queue.
Spec: spec/api/offline.yaml getQueueSize, conformance/scenarios/force-flush.feature Tier-2 scenario.
Counts ONLY rows with status pending — pre-registration buffer rows (pre_reg), in-flight rows (sending), and terminal failed rows are NOT counted. Matches RN's SELECT COUNT(*) WHERE status='pending' (EventQueueManager.getQueueSize).