# PersistentStreamProvider.Participate(ILifecycleObservable)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.persistentstreamprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.persistentstreamprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/PersistentStreams/PersistentStreamProvider.cs#L221-L223)

```csharp
public void Participate(ILifecycleObservable lifecycle)
```

Adds the provided observer as a participant in the lifecycle.

### Parameters

- `lifecycle` (`ILifecycleObservable`): The observer.
