initOutbox method

Future<void> initOutbox()

Implementation

Future<void> initOutbox() async {
  if (_outboxLoaded) return;
  await cleanupOutbox(); // Remove expired entries before hydration
  await _hydrateOutbox();
  await _processDBCacheDeletions(); // Process deletion markers from deleteWithSync()
  _outboxLoaded = true;
}