ServerPushHandler typedef
ServerPushHandler =
Future<void> Function(PushedSyncChange change)
A handler for server-pushed changes. Called once per change, on the main isolate.
The handler is expected to be quick (apply the change to the local DB and return). Long-running work should be dispatched to a worker isolate.
Implementation
typedef ServerPushHandler = Future<void> Function(PushedSyncChange change);