refreshResolverReferenceDigest

abstract fun refreshResolverReferenceDigest(    reference: ResolverReference,     successHandler: (ByteArray, Long) -> Unit,     failureHandler: (ErrorCode, Throwable?) -> Unit)

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.

successHandler

A function that accepts the new digest and last modified time to call after the new digest has been created.

failureHandler

A function that accepts an ErrorCode and a nullableThrowable to be called in the event of failure.