baseConnect abstract method
- @protected
- @internal
- required PowerSyncBackendConnector connector,
- required Duration crudThrottleTime,
- required Future<
void> reconnect(), - Map<
String, dynamic> ? params,
inherited
Abstract connection method to be implemented by platform specific
classes. This is wrapped inside an exclusive mutex in the connect
method.
Implementation
@protected
@internal
Future<void> baseConnect(
{required PowerSyncBackendConnector connector,
/// Throttle time between CRUD operations
/// Defaults to 10 milliseconds.
required Duration crudThrottleTime,
required Future<void> Function() reconnect,
Map<String, dynamic>? params});