WorkerParams constructor
WorkerParams({
- required List<
StorageWorkerHandler> storages, - List<
RemoteWorkerHandler> remotes = const [], - PhysicalTimestampFactory? physicalTimestampFactory,
- InstallationIdFactory? installationIdFactory,
- IriTermFactory? iriFactory,
- RdfCore? rdfCore,
- Client? httpClient,
- Fetcher? fetcher,
- 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,
);