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
328
return new(state.
ExecuteDirectAsync
(value, static (state, _) => new(state), options)); // note this spans L2 write etc
Microsoft.Extensions.Caching.Hybrid.Tests (2)
StampedeTests.cs (2)
93
Task oldExecution = old.
ExecuteDirectAsync
(in state, async (_, cancellationToken) =>
553
await stampede.
ExecuteDirectAsync
(0, static (_, _) => throw new InvalidOperationException("Underlying data should not be invoked"), options: null);