public async Task TestGoogle() { var(found, _) = await _cache.TryGetAsync(IPAddress.Parse("8.8.8.8")); Assert.IsTrue(found); }
public async ValueTask <T> GetAsync() { var(_, value) = await _cache.TryGetAsync(0); return(value !); }
public async Task TestGoogle() { var(found, _) = await _cache.TryGetAsync(IPAddress.Parse("8.8.8.8")); Assert.IsTrue(found); }
public async ValueTask <T> GetAsync() { var(_, value) = await _cache.TryGetAsync(0); return(value !); }