PushEventsCallback typedef

PushEventsCallback = Future<bool> Function(String repositoryName, LocalFirstEvents events)

Callback for pushing local events to remote server.

repositoryName The name of the repository to push events to events List of events to push as LocalFirstEvent objects

Returns true if push was successful

Implementation

typedef PushEventsCallback =
    Future<bool> Function(String repositoryName, LocalFirstEvents events);