# Microsoft.Extensions.Hosting

``` diff
 namespace Microsoft.Extensions.Hosting {
     public class HostOptions {
+        public TimeSpan StartupTimeout { get; set; }
     }
+    public interface IHostedLifecycleService : IHostedService {
+        Task StartedAsync(CancellationToken cancellationToken);
+        Task StartingAsync(CancellationToken cancellationToken);
+        Task StoppedAsync(CancellationToken cancellationToken);
+        Task StoppingAsync(CancellationToken cancellationToken);
+    }
 }
```

