connectInternal abstract method
- @protected
- @internal
- required PowerSyncBackendConnector connector,
- required Duration crudThrottleTime,
- required AbortController abort,
- Map<
String, dynamic> ? params,
inherited
Internal method to establish a sync client connection.
This method will always be wrapped in an exclusive mutex through the
connect
method and should not be called elsewhere.
This method will only be called internally when no other sync client is
active, so the method should not call disconnect
itself.
The crudThrottleTime
is the throttle time between CRUD operations, it
defaults to 10 milliseconds in connect
.
Implementation
@protected
@internal
Future<void> connectInternal({
required PowerSyncBackendConnector connector,
required Duration crudThrottleTime,
required AbortController abort,
Map<String, dynamic>? params,
});