# ILifecycleObservable

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions)

```csharp
public interface ILifecycleObservable
```

Observable lifecycle. Each stage of the lifecycle is observable. All observers will be notified when the stage is reached when starting, and stopping. Stages are started in ascending order, and stopped in descending order.

## Methods

- [Subscribe(string, int, ILifecycleObserver)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.ilifecycleobservable/methods/subscribe-string-int-orleans-ilifecycleobserver-5ceba0de/)
