4 instantiations of AsyncLazy
Microsoft.CodeAnalysis.InteractiveHost (4)
AsyncLazy`1.cs (2)
17=> new(asynchronousComputeFunction, cacheResult); 20=> new(value);
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
37_lazyInitializedService = new AsyncLazy<InitializedRemoteService>(TryStartAndInitializeProcessAsync, cacheResult: true);
ValueSource.cs (1)
22=> new AsyncLazy<T>(value);
6 references to AsyncLazy
Microsoft.CodeAnalysis.InteractiveHost (6)
AsyncLazy`1.cs (5)
16public static AsyncLazy<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction, bool cacheResult) 19public static AsyncLazy<T> Create<T>(T value) 30/// Creators of an <see cref="AsyncLazy{T}" /> can specify whether the result of the computation is 134private readonly AsyncLazy<T> _asyncLazy; 136public WaitThatValidatesInvariants(AsyncLazy<T> asyncLazy)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
27private readonly AsyncLazy<InitializedRemoteService> _lazyInitializedService;