<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-preview.2.26159.112" />

Microsoft.Extensions.Hosting.Internal.NullLifetime

sealed class NullLifetime : IHostLifetime
Minimalistic lifetime that does nothing.
namespace Microsoft.Extensions.Hosting.Internal { internal sealed class NullLifetime : IHostLifetime { public Task WaitForStartAsync(CancellationToken cancellationToken); public Task StopAsync(CancellationToken cancellationToken); public NullLifetime(); } }