Exemplo n.º 1
0
 public async Task Fetch(string segmentName)
 {
     var refreshingSegment = new SelfRefreshingSegment(segmentName, _segmentChangeFetcher, _gates, _segmentCache);
     await refreshingSegment.FetchSegment();
 }
Exemplo n.º 2
0
 public void Add(SelfRefreshingSegment selfRefreshingSegment)
 {
     _segmentsQueue.TryAdd(selfRefreshingSegment);
 }