FetchEventsCallback typedef
Callback for fetching remote events for a repository.
The implementation should use BuildSyncFilterCallback to get filter parameters (e.g., last sync timestamp, last sequence number) and fetch only new events from the remote server.
repositoryName The name of the repository to fetch events for
Returns a list of events as JSON maps that should be applied locally
Implementation
typedef FetchEventsCallback =
Future<List<JsonMap>> Function(String repositoryName);