applyUpdatesAsync method

Future<void> applyUpdatesAsync([
  1. int maxErrors = 0
])

@@@ Replays the update log → await to send it. Backend errors surface here.

Implementation

Future<void> applyUpdatesAsync([int maxErrors = 0]) async {
  final conn = _wapConn;
  applyUpdates(maxErrors); // calls applyRecUpdate entry by entry → execute pushes into the queue
  await conn.flushPending();
}