refresh Resolver Reference Digest
open override fun refreshResolverReferenceDigest( reference: ResolverReference, successHandler: (ByteArray, Long) -> Unit, failureHandler: (ErrorCode, Throwable?) -> Unit)
Content copied to clipboard
Specifically refresh the ResolverReference.digest in the Repository.ModuleArchive for the most recent ResolverReference.lastModified timestamp. This also refreshes the metrics (mutable state) of the provided ResolverReference. It should refresh:
NOTE: This might be run on a separate standard thread. If it is required that the callback(s) be run in an AvailThread, that should be handled inside the callback.
Parameters
reference
The ResolverReference to refresh.
success Handler
A function that accepts the new digest and last modified time to call after the new digest has been created.