addCachedDiscoInfo method
Add a DiscoCacheKey
-DiscoInfo pair discoInfoEntry
to the internal cache.
Implementation
Future<void> addCachedDiscoInfo(
MapEntry<DiscoCacheKey, DiscoInfo> discoInfoEntry,
) async {
await _cacheLock.synchronized(() {
_discoInfoCache[discoInfoEntry.key] = discoInfoEntry.value;
});
}