4 references to ExecuteDirectAsync
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.cs (2)
167_ = stampede!.ExecuteDirectAsync(in state, factory, options); // this larger task includes L2 write etc 328return new(state.ExecuteDirectAsync(value, static (state, _) => new(state), options)); // note this spans L2 write etc
Microsoft.Extensions.Caching.Hybrid.Tests (2)
StampedeTests.cs (2)
93Task oldExecution = old.ExecuteDirectAsync(in state, async (_, cancellationToken) => 553await stampede.ExecuteDirectAsync(0, static (_, _) => throw new InvalidOperationException("Underlying data should not be invoked"), options: null);