baseInit method

  1. @protected
Future<void> baseInit()
inherited

Implementation

@protected
Future<void> baseInit() async {
  statusStream = statusStreamController.stream;
  updates = powerSyncUpdateNotifications(database.updates);

  await database.initialize();
  await _checkVersion();
  await database.execute('SELECT powersync_init()');
  await updateSchema(schema);
  await _updateHasSynced();
}