WorkerParams constructor

WorkerParams({
  1. required List<StorageWorkerHandler> storages,
  2. List<RemoteWorkerHandler> remotes = const [],
  3. PhysicalTimestampFactory? physicalTimestampFactory,
  4. InstallationIdFactory? installationIdFactory,
  5. IriTermFactory? iriFactory,
  6. RdfCore? rdfCore,
  7. Client? httpClient,
  8. Fetcher? fetcher,
  9. Iterable<String>? mappingBootstrapSources,
})

Implementation

WorkerParams({
  required this.storages,
  this.remotes = const [],
  this.physicalTimestampFactory,
  this.installationIdFactory,
  this.iriFactory,
  RdfCore? rdfCore,
  this.httpClient,
  this.fetcher,
  this.mappingBootstrapSources,
}) : rdfCore = rdfCore ??
          RdfCore.withStandardCodecs(
            additionalBinaryDatasetCodecs:
                StandardSyncEngine.extraBinaryDatasetCodecs,
            additionalBinaryGraphCodecs:
                StandardSyncEngine.extraBinaryGraphCodecs,
          );