SyncSqliteConnection constructor

SyncSqliteConnection(
  1. CommonDatabase db,
  2. Mutex m
)

Implementation

SyncSqliteConnection(this.db, Mutex m) {
  mutex = m.open();
  updates = db.updates.map(
    (event) {
      return UpdateNotification({event.tableName});
    },
  );
}