Index V2Diff Stream Receiver
interface IndexV2DiffStreamReceiver
Functions
Link copied to clipboard
Called when the stream has been processed to its end.
Link copied to clipboard
abstract fun receivePackageMetadataDiff(packageName: String, packageJsonObject: <Error class: unknown class>?)
Receives one diff for a MetadataV2 from the index stream. This is called once for each package in the index diff.
Link copied to clipboard
Receives the diff for the RepoV2 from the index stream.
Link copied to clipboard
abstract fun receiveVersionsDiff(packageName: String, versionsDiffMap: Map<String, <Error class: unknown class>?>?)
Receives the diff for all versions of the give n packageName as a map of versions IDs to the diff JsonObject. This is called once for each package in the index diff (if versions have changed).